summaryrefslogtreecommitdiff
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/portage_dep.py
parentBegin the deprecation of the string module (diff)
downloadportage-multirepo-bc5315439918ddbb18b87c780dd61ba1863ae11c.tar.gz
portage-multirepo-bc5315439918ddbb18b87c780dd61ba1863ae11c.tar.bz2
portage-multirepo-bc5315439918ddbb18b87c780dd61ba1863ae11c.zip
more string deprecation
svn path=/main/trunk/; revision=5595
Diffstat (limited to 'pym/portage_dep.py')
-rw-r--r--pym/portage_dep.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage_dep.py b/pym/portage_dep.py
index cc662d5c..59fa3a0f 100644
--- a/pym/portage_dep.py
+++ b/pym/portage_dep.py
@@ -18,7 +18,7 @@
# "a? ( b? ( z ) ) -- Valid
#
-import re, string, sys, types
+import re, sys, types
import portage_exception
from portage_exception import InvalidData
from portage_versions import catpkgsplit, catsplit, pkgcmp, pkgsplit, ververify
@@ -180,7 +180,7 @@ def use_reduce(deparray, uselist=[], masklist=[], matchall=0, excludeall=[]):
sys.stderr.write("Note: Nested use flags without parenthesis (Deprecated)\n")
warned = 1
if warned:
- sys.stderr.write(" --> "+string.join(map(str,[head]+newdeparray))+"\n")
+ sys.stderr.write(" --> "+"".join(map(str,[head]+newdeparray))+"\n")
# Check that each flag matches
ismatch = True