Author: bugman Date: Mon Feb 4 15:05:10 2008 New Revision: 4905 URL: http://svn.gna.org/viewcvs/relax?rev=4905&view=rev Log: Deleted the SpecificData container as nothing now uses it. 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=4905&r1=4904&r2=4905&view=diff ============================================================================== --- 1.3/data/data_classes.py (original) +++ 1.3/data/data_classes.py Mon Feb 4 15:05:10 2008 @@ -44,40 +44,6 @@ # Return the lot. return text - - -# Specific data class. -###################### - -class SpecificData(DictType): - """Dictionary type class for specific data.""" - - def __repr__(self): - text = "Data:\n" - if len(self) == 0: - text = text + " {}\n" - else: - i = 0 - for key in self.keys(): - if i == 0: - text = text + " { " - else: - text = text + " , " - text = text + "Key " + `key` + ":\n" - for name in dir(self[key]): - if match("^_", name): - continue - text = text + " " + name + ", " + `type(getattr(self[key], name))` + "\n" - i = i + 1 - text = text + " }\n" - - return text - - - def add_item(self, key): - """Function for adding an empty container to the dictionary.""" - - self[key] = Element()