diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-09-27 08:49:23 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-09-27 08:49:23 +0000 |
commit | 509b8b6f5b292dc2917d17761801939818e119cc (patch) | |
tree | 45309a151f955def92fe8f1ad6bbc4922e0929c5 /MgaRepo | |
parent | 4d4619fe9f33cc03bade383a51fc81ec958645df (diff) | |
download | mgarepo-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.py | 2 |
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 |