From 2cb8fb8b6ec94d443a47b7d6806f2e04e9a4414d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 19 Feb 2009 09:41:55 +0000 Subject: For python-3.0 compatibility, don't use string.letters. svn path=/main/trunk/; revision=12639 --- pym/portage/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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" -- cgit v1.2.3-1-g7c22