From e0904f721b51fb1f3f11fb4755e476d759b7b3e3 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Wed, 1 Aug 2012 20:44:23 -0700 Subject: [PATCH] Fix unsupported operand type(s) for +: 'int' and 'str' Change-Id: I88455107d63daaa60c3b33c010aa8c730a590c70 --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): p = None try: - size = pos + r.headers.get('content-length', 0) + size = pos + int(r.headers.get('content-length', 0)) unit = 1 << 10 if size and not quiet: