aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MgaRepo/binrepo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/binrepo.py b/MgaRepo/binrepo.py
index 650c366..c97983c 100644
--- a/MgaRepo/binrepo.py
+++ b/MgaRepo/binrepo.py
@@ -162,7 +162,7 @@ def binary_exists(sha1sum):
dlurl = mirror.normalize_path(dlurl + "/" + sha1sum)
h = httplib2.Http()
resp, content = h.request(dlurl, 'HEAD')
- return resp.status == 200:
+ return resp.status == 200
def upload_binary(topdir, filename):
filepath = os.path.join(topdir, 'SOURCES', filename)