diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-12 07:58:39 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-12 07:58:39 +0000 |
commit | b123507d4ab48295c5726d8fdda29cbe4a72476a (patch) | |
tree | 1459584af5c4221502f1999d656ad5f85c425e2a /pym/cvstree.py | |
parent | caffa3c43fad3d5773eeb32c2a90eecd9aed5675 (diff) | |
download | portage-b123507d4ab48295c5726d8fdda29cbe4a72476a.tar.gz portage-b123507d4ab48295c5726d8fdda29cbe4a72476a.tar.bz2 portage-b123507d4ab48295c5726d8fdda29cbe4a72476a.zip |
Begin the deprecation of the string module
svn path=/main/trunk/; revision=5594
Diffstat (limited to 'pym/cvstree.py')
-rw-r--r-- | pym/cvstree.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |