git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proper fault string to user whose account is disabled, but attempts to extract user...
[sfa.git]
/
sfa
/
util
/
faults.py
diff --git
a/sfa/util/faults.py
b/sfa/util/faults.py
index
d1f070c
..
c833153
100644
(file)
--- a/
sfa/util/faults.py
+++ b/
sfa/util/faults.py
@@
-263,3
+263,10
@@
class InvalidRSpec(SfaFault):
def __str__(self):
return repr(self.value)
+class AccountNotEnabled(SfaFault):
+ def __init__(self, extra = None):
+ faultString = "Account Disabled"
+ SfaFault.__init__(self, 108, faultString, extra)
+ def __str__(self):
+ return repr(self.value)
+