Author: bugman Date: Wed Jul 30 17:39:47 2014 New Revision: 24843 URL: http://svn.gna.org/viewcvs/relax?rev=24843&view=rev Log: Another Python 3 fix - the string.split function no longer exists, it is now only a string method. Modified: trunk/specific_analyses/api_common.py Modified: trunk/specific_analyses/api_common.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/api_common.py?rev=24843&r1=24842&r2=24843&view=diff ============================================================================== --- trunk/specific_analyses/api_common.py (original) +++ trunk/specific_analyses/api_common.py Wed Jul 30 17:39:47 2014 @@ -24,7 +24,6 @@ # Python module imports. from copy import deepcopy -from string import split import sys # relax module imports. @@ -315,7 +314,7 @@ """ # Strip out the text from the colon. - text = split(prefix, ':')[0] + text = prefix.split(':')[0] # The printout. subsection(file=sys.stdout, text=text, prespace=2)