From: erickson Date: Tue, 20 May 2008 19:45:10 +0000 (+0000) Subject: defaulting to string for info message X-Git-Tag: osrf_rel_2_0_1~634 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0376221bbe94c33b398758ce7e7e98e4b3c25eca;p=OpenSRF.git defaulting to string for info message git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1333 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/python/osrf/ex.py b/src/python/osrf/ex.py index d7395d5..45b3484 100644 --- a/src/python/osrf/ex.py +++ b/src/python/osrf/ex.py @@ -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