mailr13746 - /branches/gui_testing/gui/misc.py


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

Header


Content

Posted by edward on July 19, 2011 - 17:48:
Author: bugman
Date: Tue Jul 19 17:48:37 2011
New Revision: 13746

URL: http://svn.gna.org/viewcvs/relax?rev=13746&view=rev
Log:
Bug fix for the gui_to_bool() function - both u'True' and u'False' were being 
converted to True!!!


Modified:
    branches/gui_testing/gui/misc.py

Modified: branches/gui_testing/gui/misc.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/misc.py?rev=13746&r1=13745&r2=13746&view=diff
==============================================================================
--- branches/gui_testing/gui/misc.py (original)
+++ branches/gui_testing/gui/misc.py Tue Jul 19 17:48:37 2011
@@ -196,7 +196,7 @@
         return None
 
     # Convert.
-    return bool(string)
+    return eval(string)
 
 
 def gui_to_list(string):




Related Messages


Powered by MHonArc, Updated Tue Jul 19 18:00:02 2011