diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2015-10-10 09:16:26 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2015-10-10 09:16:26 +0200 |
commit | 142d404aa8cffc9f4785e5347f26036463dedcd4 (patch) | |
tree | c58f4d5c692c945eb10180baadb123d2c3762ad3 /MgaRepo/cgiutil.py | |
parent | 3e3e90e699192df60eeafb2ec7a9e087aff97195 (diff) | |
download | mgarepo-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.py | 6 |
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 |