proper fault string to user whose account is disabled, but attempts to extract user...
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Wed, 10 Feb 2010 16:49:27 +0000 (16:49 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Wed, 10 Feb 2010 16:49:27 +0000 (16:49 +0000)
sfa/util/faults.py

index d1f070c..c833153 100644 (file)
@@ -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)
+