mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-23 02:32:13 +01:00
- do not print "Waiting" line on packages without defined services
This commit is contained in:
parent
3c4a19b963
commit
433897902b
@ -1334,10 +1334,12 @@ class Package:
|
|||||||
f = http_GET(u)
|
f = http_GET(u)
|
||||||
sfilelist = ET.parse(f).getroot()
|
sfilelist = ET.parse(f).getroot()
|
||||||
s = sfilelist.find('serviceinfo')
|
s = sfilelist.find('serviceinfo')
|
||||||
|
if s == None:
|
||||||
|
break
|
||||||
if first_run:
|
if first_run:
|
||||||
print 'Waiting for server side source service run',
|
print 'Waiting for server side source service run',
|
||||||
first_run = False
|
first_run = False
|
||||||
if s != None and s.get('code') == "running":
|
if s.get('code') == "running":
|
||||||
sys.stdout.write('.')
|
sys.stdout.write('.')
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user