MCPcopy
hub / github.com/benoitc/gunicorn / get_default_config_file

Function get_default_config_file

gunicorn/config.py:583–588  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

581
582
583def get_default_config_file():
584 config_path = os.path.join(os.path.abspath(os.getcwd()),
585 'gunicorn.conf.py')
586 if os.path.exists(config_path):
587 return config_path
588 return None
589
590
591class ConfigFile(Setting):

Callers 2

load_configMethod · 0.90
load_configMethod · 0.90

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected