diff --git a/osc/commandline.py b/osc/commandline.py index 296de796..3f4b14c2 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -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)