projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f55eb38
)
Revert r12639 and use string.ascii_letters for python-3.0 compatibility.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 21 Feb 2009 02:50:07 +0000
(
02:50
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 21 Feb 2009 02:50:07 +0000
(
02:50
-0000)
svn path=/main/trunk/; revision=12669
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"