mailr9209 - /1.3/specific_fns/setup.py


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

Header


Content

Posted by edward on July 13, 2009 - 16:28:
Author: bugman
Date: Mon Jul 13 16:28:58 2009
New Revision: 9209

URL: http://svn.gna.org/viewcvs/relax?rev=9209&view=rev
Log:
Partial reversion of r9204.

The AttributeError should be checked for, not the NameError!  NameError was 
only triggered by
another bug.


Modified:
    1.3/specific_fns/setup.py

Modified: 1.3/specific_fns/setup.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/setup.py?rev=9209&r1=9208&r2=9209&view=diff
==============================================================================
--- 1.3/specific_fns/setup.py (original)
+++ 1.3/specific_fns/setup.py Mon Jul 13 16:28:58 2009
@@ -240,7 +240,7 @@
         #    function = inst.write_xml_results
 
     # Catch if the function is missing.
-    except NameError:
+    except AttributeError:
         function = None
 
     # Raise an error if the function doesn't exist.




Related Messages


Powered by MHonArc, Updated Mon Jul 13 18:40:04 2009