From 2cb31864649e52823e9f0481eee3dda01cf61535 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Wed, 17 Aug 2011 16:16:21 +0000 Subject: fix typo --- MgaRepo/binrepo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1