From 658df9e905a4147f0b6c1fb691a544ceb6916506 Mon Sep 17 00:00:00 2001 From: Adam Hill Date: Tue, 17 Sep 2019 23:13:55 -0500 Subject: [PATCH] comment cleanup Signed-off-by: Adam Hill --- Dockerfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.py b/Dockerfile.py index 916b6c1..4796ad8 100755 --- a/Dockerfile.py +++ b/Dockerfile.py @@ -122,7 +122,7 @@ def build(docker_repo, arch, args): print(build_command, '\n') build_result = subprocess.Popen(build_command.split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT) if args['-v']: - for c in iter(lambda: build_result.stdout.read(1), b''): # replace '' with b'' for Python 3 + for c in iter(lambda: build_result.stdout.read(1), b''): sys.stdout.write(c) if build_result.returncode != 0: print(" ::: Building {} encountered an error".format(dockerfile))