mailr16066 - /branches/uf_redesign/user_functions/data.py


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

Header


Content

Posted by edward on May 07, 2012 - 18:17:
Author: bugman
Date: Mon May  7 18:17:27 2012
New Revision: 16066

URL: http://svn.gna.org/viewcvs/relax?rev=16066&view=rev
Log:
Fix for the Uf_info.add_uf() method - the re.search() call was matching '.' 
to all characters!


Modified:
    branches/uf_redesign/user_functions/data.py

Modified: branches/uf_redesign/user_functions/data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/data.py?rev=16066&r1=16065&r2=16066&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/data.py (original)
+++ branches/uf_redesign/user_functions/data.py Mon May  7 18:17:27 2012
@@ -92,7 +92,7 @@
             raise RelaxError("The user function %s has already been set up." 
% name)
 
         # First check if the user function class has been set up.
-        if search('.', name):
+        if search('\.', name):
             # Split up the name.
             class_name, fn_name = split(name, '.')
 




Related Messages


Powered by MHonArc, Updated Mon May 07 18:20:02 2012