aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-08-17 16:16:21 +0000
committerNicolas Vigier <boklm@mageia.org>2011-08-17 16:16:21 +0000
commit2cb31864649e52823e9f0481eee3dda01cf61535 (patch)
tree46cf46b36129100a4212fb11df7e044e5a29a1fa /MgaRepo
parentf23f41f9391258910a0443fd9ebfe278dde90767 (diff)
downloadmgarepo-2cb31864649e52823e9f0481eee3dda01cf61535.tar
mgarepo-2cb31864649e52823e9f0481eee3dda01cf61535.tar.gz
mgarepo-2cb31864649e52823e9f0481eee3dda01cf61535.tar.bz2
mgarepo-2cb31864649e52823e9f0481eee3dda01cf61535.tar.xz
mgarepo-2cb31864649e52823e9f0481eee3dda01cf61535.zip
fix typo
Diffstat (limited to 'MgaRepo')
-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)