From bc5315439918ddbb18b87c780dd61ba1863ae11c Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Fri, 12 Jan 2007 08:08:03 +0000 Subject: more string deprecation svn path=/main/trunk/; revision=5595 --- pym/xpak.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym/xpak.py') diff --git a/pym/xpak.py b/pym/xpak.py index dff1ab70e..b7ef582e8 100644 --- a/pym/xpak.py +++ b/pym/xpak.py @@ -16,7 +16,7 @@ # (integer) == encodeint(integer) ===> 4 characters (big-endian copy) # '+' means concatenate the fields ===> All chunks are strings -import sys,os,string,shutil,errno +import sys,os,shutil,errno from stat import * def addtolist(mylist,curdir): @@ -353,7 +353,7 @@ class tbz2: mydat=self.getfile(myfile) if not mydat: return [] - return string.split(mydat) + return mydat.split() def unpackinfo(self,mydest): """Unpacks all the files from the dataSegment into 'mydest'.""" -- cgit v1.2.3-1-g7c22