summaryrefslogtreecommitdiffstats
path: root/pym/xpak.py
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-12 08:08:03 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-12 08:08:03 +0000
commitbc5315439918ddbb18b87c780dd61ba1863ae11c (patch)
treebc9b280f56babfcf23776d26a7302285f3ecc6b2 /pym/xpak.py
parentb123507d4ab48295c5726d8fdda29cbe4a72476a (diff)
downloadportage-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.py4
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'."""