summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2012-08-01 20:44:23 -0700
committerShawn O. Pearce <sop@google.com>2012-08-01 20:44:23 -0700
commite0904f721b51fb1f3f11fb4755e476d759b7b3e3 (patch)
tree3fe7b7c3826fbf7cf913551f759c4f1612c3b36d
parent9830553748a2a4a1930361b41a1076dbaa6d9f4a (diff)
downloadgit-repo-e0904f721b51fb1f3f11fb4755e476d759b7b3e3.tar.gz
Fix unsupported operand type(s) for +: 'int' and 'str'v1.10.1
Change-Id: I88455107d63daaa60c3b33c010aa8c730a590c70
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index 35dbafd4..3f0fd80b 100644
--- a/project.py
+++ b/project.py
@@ -1601,7 +1601,7 @@ class Project(object):
1601 1601
1602 p = None 1602 p = None
1603 try: 1603 try:
1604 size = pos + r.headers.get('content-length', 0) 1604 size = pos + int(r.headers.get('content-length', 0))
1605 unit = 1 << 10 1605 unit = 1 << 10
1606 1606
1607 if size and not quiet: 1607 if size and not quiet: