mailr16586 - /branches/uf_redesign/user_functions/objects.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 01, 2012 - 14:56:
Author: bugman
Date: Fri Jun  1 14:56:14 2012
New Revision: 16586

URL: http://svn.gna.org/viewcvs/relax?rev=16586&view=rev
Log:
Removed the 'prompt_examples' and 'additional' variables from the Uf_info 
containers.

These have been superseded by the Desc_container objects.


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=16586&r1=16585&r2=16586&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/objects.py (original)
+++ branches/uf_redesign/user_functions/objects.py Fri Jun  1 14:56:14 2012
@@ -263,10 +263,6 @@
     @type display:              str
     @ivar desc:                 The multi-paragraph description defined via 
the Desc_container class.
     @type desc:                 list of Desc_container instances
-    @ivar additional:           Additional documentation, usually appended 
to the end of the description.
-    @type additional:           list of str
-    @ivar prompt_examples:      The examples of how to use the prompt front 
end.
-    @type prompt_examples:      str or None
     @ivar menu_text:            The text to use for the GUI menu entry.
     @type menu_text:            str
     @ivar gui_icon:             The code for the icon to use in the GUI.
@@ -291,8 +287,6 @@
             'backend',
             'display',
             'desc',
-            'additional',
-            'prompt_examples',
             'menu_text',
             'gui_icon',
             'wizard_size',
@@ -313,8 +307,6 @@
         self.backend = None
         self.display = False
         self.desc = []
-        self.additional = None
-        self.prompt_examples = None
         self.menu_text = ''
         self.gui_icon = None
         self.wizard_size = (600, 400)
@@ -338,7 +330,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', 'prompt_examples', 
'gui_icon']:
+        if name in ['title', 'title_short', 'backend', 'gui_icon']:
             # No object set yet.
             if not hasattr(self, name):
                 obj = None




Related Messages


Powered by MHonArc, Updated Fri Jun 01 15:00:01 2012