From b123507d4ab48295c5726d8fdda29cbe4a72476a Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Fri, 12 Jan 2007 07:58:39 +0000 Subject: Begin the deprecation of the string module svn path=/main/trunk/; revision=5594 --- pym/cvstree.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pym/cvstree.py') diff --git a/pym/cvstree.py b/pym/cvstree.py index 53b9f6222..30f143cd8 100644 --- a/pym/cvstree.py +++ b/pym/cvstree.py @@ -4,7 +4,7 @@ # $Id$ -import string,os,time,sys,re +import os,time,sys,re from stat import * # [D]/Name/Version/Date/Flags/Tags @@ -12,7 +12,7 @@ from stat import * def pathdata(entries, path): """(entries,path) Returns the data(dict) for a specific file/dir at the path specified.""" - mysplit=string.split(path,"/") + mysplit=path.split("/") myentries=entries mytarget=mysplit[-1] mysplit=mysplit[:-1] @@ -191,7 +191,7 @@ def getentries(mydir,recursive=0): continue if line=="D": # End of entries file break - mysplit=string.split(line, "/") + mysplit=line.split("/") if len(mysplit)!=6: print "Confused:",mysplit continue -- cgit v1.2.3-1-g7c22