aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/binrepo.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/binrepo.py')
-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