Author: bugman Date: Wed Feb 8 15:13:40 2012 New Revision: 15323 URL: http://svn.gna.org/viewcvs/relax?rev=15323&view=rev Log: Merged revisions 15322 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3 ........ r15322 | bugman | 2012-02-08 15:13:04 +0100 (Wed, 08 Feb 2012) | 3 lines The relax data store __repr__() method now prints out all objects within the base object. ........ Modified: branches/frame_order_testing/ (props changed) branches/frame_order_testing/data/__init__.py Propchange: branches/frame_order_testing/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Wed Feb 8 15:13:40 2012 @@ -1,1 +1,1 @@ -/1.3:1-15258 +/1.3:1-15322 Modified: branches/frame_order_testing/data/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/data/__init__.py?rev=15323&r1=15322&r2=15323&view=diff ============================================================================== --- branches/frame_order_testing/data/__init__.py (original) +++ branches/frame_order_testing/data/__init__.py Wed Feb 8 15:13:40 2012 @@ -126,6 +126,28 @@ # The text. text = text + " %s %s: %s\n" % (name, type(obj), split(obj.__doc__, '\n')[0]) + + # All other objects. + text = text + "\n" + text = text + "All other objects:\n" + for name in dir(self): + # Skip special methods. + if search("^_", name): + continue + + # Skip overwritten methods. + if name in list(self.__class__.__dict__.keys()): + continue + + # Skip dictionary methods. + if name in dir(dict): + continue + + # The object. + obj = getattr(self, name) + + # The text. + text = text + " %s %s: %s\n" % (name, type(obj), obj) # Return the text. return text