defaulting to string for info message
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 20 May 2008 19:45:10 +0000 (19:45 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 20 May 2008 19:45:10 +0000 (19:45 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1333 9efc2488-bf62-4759-914b-345cdb29e865

src/python/osrf/ex.py

index d7395d5..45b3484 100644 (file)
@@ -19,7 +19,7 @@
 
 class OSRFException(Exception):
     """Root class for exceptions."""
-    def __init__(self, info=None):
+    def __init__(self, info=''):
         self.msg = '%s: %s' % (self.__class__.__name__, info)
     def __str__(self):
         return self.msg