summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/util.py3
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"