summaryrefslogtreecommitdiffstats
path: root/server/codes.py
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-20 18:43:14 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-20 18:43:14 -0400
commitbfc12e218fa56755aa37338c5aa36feee632ed49 (patch)
tree761d9790698a39fc9b3bc77f2ec1f4f79473ad61 /server/codes.py
parentd6b77d16f9a1e1acf8e8c65ef311657daef7bb05 (diff)
downloadthird_party-func-bfc12e218fa56755aa37338c5aa36feee632ed49.tar.gz
third_party-func-bfc12e218fa56755aa37338c5aa36feee632ed49.tar.xz
third_party-func-bfc12e218fa56755aa37338c5aa36feee632ed49.zip
pychecker cleanups
"import codes" instead of polluting the namespace with "from codes import *" and update accordingly
Diffstat (limited to 'server/codes.py')
-rwxr-xr-xserver/codes.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/codes.py b/server/codes.py
index 69ea95b..dc0ceac 100755
--- a/server/codes.py
+++ b/server/codes.py
@@ -22,4 +22,7 @@ import traceback
class FuncException(exceptions.Exception):
pass
+class InvalidMethodException(FuncException):
+ pass
+
# FIXME: more sub-exceptions maybe