diff options
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 |