From: Zac Medico Date: Sat, 21 Feb 2009 02:50:07 +0000 (-0000) Subject: Revert r12639 and use string.ascii_letters for python-3.0 compatibility. X-Git-Tag: v2.2_rc24~142 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=017b587a4879c95cd52a76f7635fdae12b4a0157;p=portage.git Revert r12639 and use string.ascii_letters for python-3.0 compatibility. svn path=/main/trunk/; revision=12669 --- 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"