pyslha.py

changeset 168
9736876969a4
parent 166
97ed233d12f8
child 170
50af1eaa6dfb
     1.1 --- a/pyslha.py	Sat Mar 03 20:32:21 2012 +0100
     1.2 +++ b/pyslha.py	Sat Mar 03 20:38:14 2012 +0100
     1.3 @@ -50,7 +50,7 @@
     1.4      "Exception object to be raised when a spectrum file/string is malformed"
     1.5      def __init__(self, errmsg):
     1.6          self.msg = errmsg
     1.7 -    def __repr__(self):
     1.8 +    def __str__(self):
     1.9          return self.msg
    1.10  
    1.11  

mercurial