mailr13142 - /branches/gui_testing/gui/wizard.py


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

Header


Content

Posted by edward on June 20, 2011 - 21:57:
Author: bugman
Date: Mon Jun 20 21:57:43 2011
New Revision: 13142

URL: http://svn.gna.org/viewcvs/relax?rev=13142&view=rev
Log:
The wizard panel execute() base class method no longer raises a RelaxError.

This allows the panels to not have execute() methods, so that instead the 
wizard returns data and
the calling code then determines what to do.


Modified:
    branches/gui_testing/gui/wizard.py

Modified: branches/gui_testing/gui/wizard.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/wizard.py?rev=13142&r1=13141&r2=13142&view=diff
==============================================================================
--- branches/gui_testing/gui/wizard.py (original)
+++ branches/gui_testing/gui/wizard.py Mon Jun 20 21:57:43 2011
@@ -385,9 +385,10 @@
 
 
     def execute(self):
-        """Execute the operation (dummy method)."""
-
-        raise RelaxImplementError
+        """Execute the operation (dummy method).
+
+        If this method is not overridden, then the wizard panel will do 
nothing.
+        """
 
 
     def file_selection(self, sizer, desc, title='File selection', 
default="all files (*.*)|*"):




Related Messages


Powered by MHonArc, Updated Mon Jun 20 22:20:02 2011