def getConfigFile(self, argv):
        if not self.configClass:
            raise RuntimeError, ('Must define a configClass to use with this'
                                 ' main handler')
        if '--skip-default-config' in argv:
            argv.remove('--skip-default-config')
            ccfg = self.configClass(readConfigFiles=False,
                                    ignoreErrors=self._ignoreConfigErrors)
        else:
            ccfg = self.configClass(readConfigFiles=True,
                                    ignoreErrors=self._ignoreConfigErrors)
        return ccfg
Find the appropriate config file
dataset/ETHPy150Open sassoftware/conary/conary/lib/mainhandler.py/MainHandler.getConfigFile