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

- fixed #498330 ("buildlog inserts bogus newlines")

This commit is contained in:
Marcus Hüwe 2009-04-27 18:30:00 +00:00
parent e2524f036d
commit 1ec537e9de

View File

@ -2880,7 +2880,7 @@ def print_buildlog(apiurl, prj, package, platform, arch, offset = 0):
u = makeurl(apiurl, ['build', prj, platform, arch, package, '_log'], query=query)
for data in streamfile(u):
offset += len(data)
print data
sys.stdout.write(data)
if start_offset == offset:
break