Changeset 1521 for trunk/GSASIIlog.py


Ignore:
Timestamp:
Oct 7, 2014 10:24:28 AM (7 years ago)
Author:
toby
Message:

Fix bug on use of str on logged objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlog.py

    r1513 r1521  
    287287
    288288    def __str__(self):
     289        return self.obj.__str__()
     290    def __repr__(self):
    289291        return self.obj.__str__() + " : " + str(self.treeRefs) + ',' + str(self.indexRefs)
    290292
     
    330332
    331333    def __str__(self):
     334        return self.obj.__str__()
     335    def __repr__(self):
    332336        return self.obj.__str__() + " : " + str(self.treeRefs) + ',' + str(self.indexRefs)
    333337
Note: See TracChangeset for help on using the changeset viewer.