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

Method do_load_config

gunicorn/app/base.py:29–39  ·  view source on GitHub ↗

Loads the configuration

(self)

Source from the content-addressed store, hash-verified

27 self.do_load_config()
28
29 def do_load_config(self):
30 """
31 Loads the configuration
32 """
33 try:
34 self.load_default_config()
35 self.load_config()
36 except Exception as e:
37 print("\nError: %s" % str(e), file=sys.stderr)
38 sys.stderr.flush()
39 sys.exit(1)
40
41 def load_default_config(self):
42 # init configuration

Callers 2

__init__Method · 0.95
reloadMethod · 0.95

Calls 2

load_default_configMethod · 0.95
load_configMethod · 0.95

Tested by

no test coverage detected