enable __str__()
authorTony Mack <tmack@cs.princeton.edu>
Wed, 24 Feb 2010 17:46:54 +0000 (17:46 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 24 Feb 2010 17:46:54 +0000 (17:46 +0000)
sfa/util/faults.py

index c833153..045e443 100644 (file)
@@ -143,8 +143,8 @@ class RecordNotFound(SfaFault):
         self.value = value
         faultString = "Record not found: %(value)s" % locals()
         SfaFault.__init__(self, 102, faultString, extra)
-    #def __str__(self):
-    #    return repr(self.value)
+    def __str__(self):
+        return repr(self.value)
 
 class UnknownSfaType(SfaFault):
     def __init__(self, value, extra = None):