1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

- do not print "Waiting" line on packages without defined services

This commit is contained in:
Adrian Schröter 2011-07-04 12:13:20 +02:00
parent caec4c2547
commit 4ea084761e

View File

@ -1334,10 +1334,12 @@ class Package:
f = http_GET(u)
sfilelist = ET.parse(f).getroot()
s = sfilelist.find('serviceinfo')
if s == None:
break
if first_run:
print 'Waiting for server side source service run',
first_run = False
if s != None and s.get('code') == "running":
if s.get('code') == "running":
sys.stdout.write('.')
sys.stdout.flush()
else: