mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
- fixed #498330 ("buildlog inserts bogus newlines")
This commit is contained in:
parent
e2524f036d
commit
1ec537e9de
@ -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)
|
u = makeurl(apiurl, ['build', prj, platform, arch, package, '_log'], query=query)
|
||||||
for data in streamfile(u):
|
for data in streamfile(u):
|
||||||
offset += len(data)
|
offset += len(data)
|
||||||
print data
|
sys.stdout.write(data)
|
||||||
if start_offset == offset:
|
if start_offset == offset:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user