def configSearchPath(self): """Defines a search path for the configuration files as a pare of type/name pairs""" files = [("file", globalConfigFile()), ("directory", globalConfigDir())] if pyFoamSiteVar in environ: files += [("file", siteConfigFile()), ("directory", siteConfigDir())] files += [("file", userConfigFile()), ("directory", userConfigDir())] return files
def configSearchPath(self): """Defines a search path for the configuration files as a pare of type/name pairs""" files=[("file",globalConfigFile()), ("directory",globalConfigDir())] if pyFoamSiteVar in environ: files+=[("file",siteConfigFile()), ("directory",siteConfigDir())] files+=[("file",userConfigFile()), ("directory",userConfigDir())] return files