mailr24850 - in /branches/frame_order_cleanup: ./ specific_analyses/api_common.py


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

Header


Content

Posted by edward on July 30, 2014 - 18:24:
Author: bugman
Date: Wed Jul 30 18:24:52 2014
New Revision: 24850

URL: http://svn.gna.org/viewcvs/relax?rev=24850&view=rev
Log:
Merged revisions 24843 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk

........
  r24843 | bugman | 2014-07-30 17:39:47 +0200 (Wed, 30 Jul 2014) | 3 lines
  
  Another Python 3 fix - the string.split function no longer exists, it is 
now only a string method.
........

Modified:
    branches/frame_order_cleanup/   (props changed)
    branches/frame_order_cleanup/specific_analyses/api_common.py

Propchange: branches/frame_order_cleanup/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Jul 30 18:24:52 2014
@@ -1 +1 @@
-/trunk:1-24841
+/trunk:1-24843

Modified: branches/frame_order_cleanup/specific_analyses/api_common.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/api_common.py?rev=24850&r1=24849&r2=24850&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/api_common.py        
(original)
+++ branches/frame_order_cleanup/specific_analyses/api_common.py        Wed 
Jul 30 18:24:52 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)




Related Messages


Powered by MHonArc, Updated Wed Jul 30 20:20:03 2014