Gitlab Community Edition Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cdstar
pycdstar3
Commits
c454c08a
Commit
c454c08a
authored
Nov 27, 2019
by
mhellka
Browse files
Fix: "put -%" would fail with type error
parent
89e90b4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pycdstar3/cli/commands/put.py
View file @
c454c08a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment