diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-02-21 02:50:07 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-02-21 02:50:07 +0000 |
commit | 017b587a4879c95cd52a76f7635fdae12b4a0157 (patch) | |
tree | 7048faa499ccf04c1e637b4c250480620dfe01d1 | |
parent | f55eb386c7fbd8b54d846782e834f071e3784073 (diff) | |
download | portage-017b587a4879c95cd52a76f7635fdae12b4a0157.tar.gz portage-017b587a4879c95cd52a76f7635fdae12b4a0157.tar.bz2 portage-017b587a4879c95cd52a76f7635fdae12b4a0157.zip |
Revert r12639 and use string.ascii_letters for python-3.0 compatibility.
svn path=/main/trunk/; revision=12669
-rw-r--r-- | pym/portage/util.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/util.py b/pym/portage/util.py index eaab1bf4a..9a5944510 100644 --- a/pym/portage/util.py +++ b/pym/portage/util.py @@ -588,7 +588,8 @@ 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 += "~!@#$%*_\:;?,./-+{}" + lex.wordchars = string.digits + string.ascii_letters + \ + "~!@#$%*_\:;?,./-+{}" lex.quotes="\"'" if allow_sourcing: lex.source="source" |