diff options
Diffstat (limited to 'pym/xpak.py')
-rw-r--r-- | pym/xpak.py | 4 |
1 files changed, 2 insertions, 2 deletions
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'.""" |