diff options
author | Alec Warner <antarus@gentoo.org> | 2007-01-12 08:08:03 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2007-01-12 08:08:03 +0000 |
commit | bc5315439918ddbb18b87c780dd61ba1863ae11c (patch) | |
tree | bc9b280f56babfcf23776d26a7302285f3ecc6b2 /pym/xpak.py | |
parent | b123507d4ab48295c5726d8fdda29cbe4a72476a (diff) | |
download | portage-bc5315439918ddbb18b87c780dd61ba1863ae11c.tar.gz portage-bc5315439918ddbb18b87c780dd61ba1863ae11c.tar.bz2 portage-bc5315439918ddbb18b87c780dd61ba1863ae11c.zip |
more string deprecation
svn path=/main/trunk/; revision=5595
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'.""" |