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, '.')