From 509b8b6f5b292dc2917d17761801939818e119cc Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 27 Sep 2011 08:49:23 +0000 Subject: fix error message --- MgaRepo/binrepo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1