From 017b587a4879c95cd52a76f7635fdae12b4a0157 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 21 Feb 2009 02:50:07 +0000 Subject: [PATCH] Revert r12639 and use string.ascii_letters for python-3.0 compatibility. svn path=/main/trunk/; revision=12669 --- 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