mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 17:16:23 +01:00
- use sys.stdout.write() instead of print
This commit is contained in:
parent
cf2b0c182f
commit
23578e72fd
@ -4926,10 +4926,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
else:
|
||||
raise
|
||||
|
||||
while 1:
|
||||
while True:
|
||||
buf = f.read(16384)
|
||||
if not buf: break
|
||||
print buf
|
||||
if not buf:
|
||||
break
|
||||
sys.stdout.write(buf)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user