From 8154cb161f4d12ff937e338211c822aea89ccfbf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 06:04:15 +0000 Subject: [PATCH] Revert r12639 and use string.ascii_letters for python-3.0 compatibility. (trunk r12669) svn path=/main/branches/2.1.6/; revision=12931 --- pym/portage/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.26.2