Gitlab Community Edition Instance

Commit c454c08a authored by mhellka's avatar mhellka
Browse files

Fix: "put -%" would fail with type error

parent 89e90b4d
......@@ -272,7 +272,7 @@ def command(ctx, args): # noqa: C901
println = pbar.write
def wrap(fp):
for chunk in iter(fp.read(1024 * 64), b""):
for chunk in iter(lambda: fp.read(1024 * 64), b""):
pbar.update(len(chunk))
yield chunk
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment