projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ce00c
)
For python-3.0 compatibility, don't use string.letters. (trunk r12639)
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 05:48:48 +0000
(
05:48
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 05:48:48 +0000
(
05:48
-0000)
svn path=/main/branches/2.1.6/; revision=12911
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"