aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/cgiutil.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-10-10 09:16:26 +0200
committerPapoteur <papoteur@mageialinux-online.org>2015-10-10 09:16:26 +0200
commit142d404aa8cffc9f4785e5347f26036463dedcd4 (patch)
treec58f4d5c692c945eb10180baadb123d2c3762ad3 /MgaRepo/cgiutil.py
parent3e3e90e699192df60eeafb2ec7a9e087aff97195 (diff)
downloadmgarepo-142d404aa8cffc9f4785e5347f26036463dedcd4.tar
mgarepo-142d404aa8cffc9f4785e5347f26036463dedcd4.tar.gz
mgarepo-142d404aa8cffc9f4785e5347f26036463dedcd4.tar.bz2
mgarepo-142d404aa8cffc9f4785e5347f26036463dedcd4.tar.xz
mgarepo-142d404aa8cffc9f4785e5347f26036463dedcd4.zip
Apply 2to3-3.4
Diffstat (limited to 'MgaRepo/cgiutil.py')
-rw-r--r--MgaRepo/cgiutil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/MgaRepo/cgiutil.py b/MgaRepo/cgiutil.py
index 68afdcd..f55518b 100644
--- a/MgaRepo/cgiutil.py
+++ b/MgaRepo/cgiutil.py
@@ -24,8 +24,8 @@ def parse_macrosref(refs, config):
try:
macros.extend(config.walk(secname, raw=True))
except NoSectionError:
- raise Error, "missing macros section " \
- "%r in configuration" % secname
+ raise Error("missing macros section " \
+ "%r in configuration" % secname)
return macros
def get_targets():
@@ -46,7 +46,7 @@ def get_targets():
refs = value.split()
target.macros = parse_macrosref(refs, config)
else:
- raise Error, "unknown [%s] option %s" % (section, option)
+ raise Error("unknown [%s] option %s" % (section, option))
TARGETS.append(target)
return TARGETS