Author: bugman Date: Tue Oct 2 10:47:48 2012 New Revision: 17649 URL: http://svn.gna.org/viewcvs/relax?rev=17649&view=rev Log: Converted some raise() function calls to raise statements in preparation for the 2to3 conversion. Modified: trunk/generic_fns/mol_res_spin.py Modified: trunk/generic_fns/mol_res_spin.py URL: http://svn.gna.org/viewcvs/relax/trunk/generic_fns/mol_res_spin.py?rev=17649&r1=17648&r2=17649&view=diff ============================================================================== --- trunk/generic_fns/mol_res_spin.py (original) +++ trunk/generic_fns/mol_res_spin.py Tue Oct 2 10:47:48 2012 @@ -3026,7 +3026,7 @@ # Check. if element not in valid_names: - raise(RelaxError("The element name '%s' is not valid and should be one of the IUPAC names %s." % (element, valid_names))) + raise RelaxError("The element name '%s' is not valid and should be one of the IUPAC names %s." % (element, valid_names)) # The data pipe. if pipe == None: @@ -3072,7 +3072,7 @@ # Check. if isotope not in supported_types: - raise(RelaxError("The nuclear isotope type '%s' is currently not supported." % isotope)) + raise RelaxError("The nuclear isotope type '%s' is currently not supported." % isotope) # The data pipe. if pipe == None: