Author: bugman Date: Tue May 8 16:50:44 2012 New Revision: 16108 URL: http://svn.gna.org/viewcvs/relax?rev=16108&view=rev Log: Fix for the typo error checking in the __setattr__() method. The additional variable can be set multiple times by appending to the list! Modified: branches/uf_redesign/user_functions/objects.py Modified: branches/uf_redesign/user_functions/objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/objects.py?rev=16108&r1=16107&r2=16108&view=diff ============================================================================== --- branches/uf_redesign/user_functions/objects.py (original) +++ branches/uf_redesign/user_functions/objects.py Tue May 8 16:50:44 2012 @@ -164,7 +164,7 @@ raise RelaxError("The object '%s' is not a modifiable attribute." % name) # Check for duplicative modifications (to catch typo coding errors). - if name in ['title', 'title_short', 'backend', 'desc', 'additional', 'prompt_examples', 'gui_icon']: + if name in ['title', 'title_short', 'backend', 'desc', 'prompt_examples', 'gui_icon']: # No object set yet. if not hasattr(self, name): obj = None