Author: bugman Date: Sun Jun 22 14:42:08 2008 New Revision: 6391 URL: http://svn.gna.org/viewcvs/relax?rev=6391&view=rev Log: Bug fix for the displaying of the contents of the Element object. Modified: 1.3/data/data_classes.py Modified: 1.3/data/data_classes.py URL: http://svn.gna.org/viewcvs/relax/1.3/data/data_classes.py?rev=6391&r1=6390&r2=6391&view=diff ============================================================================== --- 1.3/data/data_classes.py (original) +++ 1.3/data/data_classes.py Sun Jun 22 14:42:08 2008 @@ -38,8 +38,15 @@ # Data structures. for name in dir(self): + # Skip object methods. + if name == 'is_empty': + continue + + # Skip special objects. if search("^_", name): continue + + # Generate the text. text = text + "%-25s%-100s\n" % (name, `getattr(self, name)`) # Return the lot.