projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d944cfb
)
Revert r12639 and use string.ascii_letters for python-3.0 compatibility.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 06:04:15 +0000
(06:04 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 06:04:15 +0000
(06:04 -0000)
(trunk r12669)
svn path=/main/branches/2.1.6/; revision=12931
pym/portage/util.py
patch
|
blob
|
history
diff --git
a/pym/portage/util.py
b/pym/portage/util.py
index eaab1bf4a1bb474cee0bed671f314d174756f567..9a59445105768cf863c0365b559c0be5a8db9a5d 100644
(file)
--- 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"