[Opensrf-commits] r1333 - trunk/src/python/osrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue May 20 15:45:13 EDT 2008
Author: erickson
Date: 2008-05-20 15:45:10 -0400 (Tue, 20 May 2008)
New Revision: 1333
Modified:
trunk/src/python/osrf/ex.py
Log:
defaulting to string for info message
Modified: trunk/src/python/osrf/ex.py
===================================================================
--- trunk/src/python/osrf/ex.py 2008-05-20 19:44:26 UTC (rev 1332)
+++ trunk/src/python/osrf/ex.py 2008-05-20 19:45:10 UTC (rev 1333)
@@ -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
More information about the opensrf-commits
mailing list