summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c036a57)
raw | patch | inline | side by side (parent: c036a57)
author | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 22 Feb 2009 01:49:15 +0000 (01:49 +0000) | ||
committer | stefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 22 Feb 2009 01:49:15 +0000 (01:49 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4158 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/admin.py | patch | blob | history | |
roundup/exceptions.py | patch | blob | history |
diff --git a/roundup/admin.py b/roundup/admin.py
index 51695e2bd46b44789f4bb88ba23532d631070ab5..653daf3eb999919a0445e3041c4794ddd1aceba5 100644 (file)
--- a/roundup/admin.py
+++ b/roundup/admin.py
import roundup.instance
from roundup.configuration import CoreConfig
from roundup.i18n import _
+from roundup.exception import UsageError
class CommandDict(UserDict.UserDict):
'''Simple dictionary that lets us do lookups using partial keys.
raise KeyError, key
return l
-class UsageError(ValueError):
- pass
-
class AdminTool:
''' A collection of methods used in maintaining Roundup trackers.
diff --git a/roundup/exceptions.py b/roundup/exceptions.py
index 27cc1ef1935d8623b9fe8439a2fb1e5687080106..a9ba2cf8ebd78d028ceda744a416598400191464 100644 (file)
--- a/roundup/exceptions.py
+++ b/roundup/exceptions.py
'''
pass
+class UsageError(ValueError):
+ pass
+
# vim: set filetype=python ts=4 sw=4 et si