aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands/editlog.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/commands/editlog.py')
-rw-r--r--MgaRepo/commands/editlog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/commands/editlog.py b/MgaRepo/commands/editlog.py
index c58c16b..163651d 100644
--- a/MgaRepo/commands/editlog.py
+++ b/MgaRepo/commands/editlog.py
@@ -24,7 +24,7 @@ def parse_options():
elif len(args) == 1:
pkgdirurl, revision = "", args[0]
else:
- raise Error, "invalid arguments"
+ raise Error("invalid arguments")
opts.pkgdirurl = package_url(pkgdirurl, mirrored=False)
opts.revision = re.compile(r".*?(\d+).*").sub(r"\1", revision)
return opts