summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-11 05:48:48 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-11 05:48:48 +0000
commit31cd75f43c25999a6e28cbf121fa0daf22e0ccc9 (patch)
tree5c1accf2fa090ea1fd99aeb550abcf412d18c87b
parent01ce00cee05ceea56eb37de9c0b6585fcbb2725a (diff)
downloadportage-31cd75f43c25999a6e28cbf121fa0daf22e0ccc9.tar.gz
portage-31cd75f43c25999a6e28cbf121fa0daf22e0ccc9.tar.bz2
portage-31cd75f43c25999a6e28cbf121fa0daf22e0ccc9.zip
For python-3.0 compatibility, don't use string.letters. (trunk r12639)
svn path=/main/branches/2.1.6/; revision=12911
-rw-r--r--pym/portage/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util.py b/pym/portage/util.py
index 18bbe577b..4ba80b1c5 100644
--- a/pym/portage/util.py
+++ b/pym/portage/util.py
@@ -407,7 +407,7 @@ def getconfig(mycfg, tolerant=0, allow_sourcing=False, expand=True):
# only joins relative paths when the infile
# attribute is properly set.
lex = shlex_class(f, infile=mycfg, posix=True)
- lex.wordchars=string.digits+string.letters+"~!@#$%*_\:;?,./-+{}"
+ lex.wordchars += "~!@#$%*_\:;?,./-+{}"
lex.quotes="\"'"
if allow_sourcing:
lex.source="source"