PR#1699: remove references to PythonOption

Merges #1699
https://pagure.io/koji/pull-request/1699
This commit is contained in:
Tomas Kopecek 2019-10-14 10:05:12 +02:00
commit ee47301987
2 changed files with 9 additions and 2 deletions

View file

@ -383,7 +383,10 @@ def load_config(environ):
"""Load configuration options
Options are read from a config file. The config file location is
controlled by the PythonOption ConfigFile in the httpd config.
controlled by the koji.hub.ConfigFile environment variable
in the httpd config. To override this (for example):
SetEnv koji.hub.ConfigFile /home/developer/koji/hub/hub.conf
Backwards compatibility:
- if ConfigFile is not set, opts are loaded from http config

View file

@ -117,7 +117,11 @@ class Dispatcher(object):
def load_config(self, environ):
"""Load configuration options
Options are read from a config file.
Options are read from a kojiweb config file. To override the
configuration file location, use the SetEnv Apache directive. For
example:
SetEnv koji.web.ConfigFile /home/developer/koji/www/conf/web.conf
Backwards compatibility:
- if ConfigFile is not set, opts are loaded from http config