diff options
Diffstat (limited to 'MgaRepo/plugins/__init__.py')
-rw-r--r-- | MgaRepo/plugins/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/plugins/__init__.py b/MgaRepo/plugins/__init__.py index 1eeb3bb..82a4eaa 100644 --- a/MgaRepo/plugins/__init__.py +++ b/MgaRepo/plugins/__init__.py @@ -17,11 +17,11 @@ def load(): [entry]) def list(): - return loaded.keys() + return list(loaded.keys()) def help(name): from MgaRepo import Error try: return loaded[name].__doc__ except KeyError: - raise Error, "plugin %s not found" % name + raise Error("plugin %s not found" % name) |