projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68cb24f
)
For python-3.0 compatibility, don't use string.letters.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 19 Feb 2009 09:41:55 +0000
(09:41 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 19 Feb 2009 09:41:55 +0000
(09:41 -0000)
svn path=/main/trunk/; revision=12639
pym/portage/util.py
patch
|
blob
|
history
diff --git
a/pym/portage/util.py
b/pym/portage/util.py
index 18bbe577b9339ac2cd74170b36f566af37a57bfe..4ba80b1c58f8639d6b1c3c6e23810f40e16f5cbf 100644
(file)
--- a/
pym/portage/util.py
+++ b/
pym/portage/util.py
@@
-407,7
+407,7
@@
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
=string.digits+string.letters+"~!@#$%*_\:;?,./-+{}"
+ lex.wordchars
+= "~!@#$%*_\:;?,./-+{}"
lex.quotes="\"'"
if allow_sourcing:
lex.source="source"