mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Fix unsupported operand type(s) for +: 'int' and 'str'
Change-Id: I88455107d63daaa60c3b33c010aa8c730a590c70
This commit is contained in:
parent
9830553748
commit
e0904f721b
@ -1601,7 +1601,7 @@ class Project(object):
|
|||||||
|
|
||||||
p = None
|
p = None
|
||||||
try:
|
try:
|
||||||
size = pos + r.headers.get('content-length', 0)
|
size = pos + int(r.headers.get('content-length', 0))
|
||||||
unit = 1 << 10
|
unit = 1 << 10
|
||||||
|
|
||||||
if size and not quiet:
|
if size and not quiet:
|
||||||
|
Loading…
Reference in New Issue
Block a user