aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/rpmutil.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-05-29 16:46:54 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-05-29 16:46:54 +0200
commit27d87188fe08eea91ae26c3b6aaccf05a829c25d (patch)
treeb5fda070c75734c867f7ac6615ae61cab8a06ab9 /MgaRepo/rpmutil.py
parent0c06e003bad8372d90ebb56bf5131328b7260dfc (diff)
downloadmgarepo-27d87188fe08eea91ae26c3b6aaccf05a829c25d.tar
mgarepo-27d87188fe08eea91ae26c3b6aaccf05a829c25d.tar.gz
mgarepo-27d87188fe08eea91ae26c3b6aaccf05a829c25d.tar.bz2
mgarepo-27d87188fe08eea91ae26c3b6aaccf05a829c25d.tar.xz
mgarepo-27d87188fe08eea91ae26c3b6aaccf05a829c25d.zip
Correction of a syntax for python 3
Diffstat (limited to 'MgaRepo/rpmutil.py')
-rw-r--r--MgaRepo/rpmutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py
index 01f6fa2..769167c 100644
--- a/MgaRepo/rpmutil.py
+++ b/MgaRepo/rpmutil.py
@@ -65,7 +65,7 @@ def cp_srpms(revision, revname, geturl, targetdirs, srpmsdir, verbose):
srpms = glob.glob(os.path.join(srpmsdir, "*.src.rpm"))
if not srpms:
# something fishy happened
- raise Error, "no SRPMS were found at %s" % srpmsdir
+ raise Error("no SRPMS were found at %s" % srpmsdir)
for srpm in srpms:
name = os.path.basename(srpm)
if revname: