aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-09-27 08:49:23 +0000
committerNicolas Vigier <boklm@mageia.org>2011-09-27 08:49:23 +0000
commit509b8b6f5b292dc2917d17761801939818e119cc (patch)
tree45309a151f955def92fe8f1ad6bbc4922e0929c5 /MgaRepo
parent4d4619fe9f33cc03bade383a51fc81ec958645df (diff)
downloadmgarepo-509b8b6f5b292dc2917d17761801939818e119cc.tar
mgarepo-509b8b6f5b292dc2917d17761801939818e119cc.tar.gz
mgarepo-509b8b6f5b292dc2917d17761801939818e119cc.tar.bz2
mgarepo-509b8b6f5b292dc2917d17761801939818e119cc.tar.xz
mgarepo-509b8b6f5b292dc2917d17761801939818e119cc.zip
fix error message
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 a0151a7..13e2c45 100644
--- a/MgaRepo/binrepo.py
+++ b/MgaRepo/binrepo.py
@@ -92,7 +92,7 @@ def binary_exists(sha1sum):
def upload_binary(topdir, filename):
filepath = os.path.join(topdir, 'SOURCES', filename)
if not os.path.exists(filepath):
- raise Error, "'%s' was not found" % spath
+ raise Error, "'%s' was not found" % filepath
sha1sum = file_hash(filepath)
if binary_exists(sha1sum):
return