From: Zac Medico Date: Wed, 11 Mar 2009 05:48:48 +0000 (-0000) Subject: For python-3.0 compatibility, don't use string.letters. (trunk r12639) X-Git-Tag: v2.1.6.8~166 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=31cd75f43c25999a6e28cbf121fa0daf22e0ccc9;p=portage.git For python-3.0 compatibility, don't use string.letters. (trunk r12639) svn path=/main/branches/2.1.6/; revision=12911 --- diff --git a/pym/portage/util.py b/pym/portage/util.py index 18bbe577b..4ba80b1c5 100644 --- 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"