--- pym/portage_util.py.orig 2006-08-29 19:33:37.000000000 +0000 +++ pym/portage_util.py 2006-08-29 19:38:40.000000000 +0000 @@ -4,7 +4,7 @@ from portage_exception import PortageException, FileNotFound, OperationNotPermitted, ReadOnlyFileSystem -import sys,string,shlex,os,errno +import sys,string,shlex,os,errno,glob try: import cPickle except ImportError: @@ -224,6 +224,10 @@ lex.quotes="\"'" if allow_sourcing: lex.source="source" + dfiles=glob.glob(mycfg + ".d/*.conf") + for conffile in dfiles: + f2=open(conffile,"r") + lex.push_source(f2) while 1: key=lex.get_token() if (key==''):