diff options
author | Donald Stufft <donald@stufft.io> | 2013-06-07 20:22:03 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2013-06-07 20:22:03 -0400 |
commit | 3b94f2101d7530ae9ed0aafcccd10e3b40457a75 (patch) | |
tree | fd290fbddbf9b0db0679313a33f33685ddb5d2e2 /pypi.wsgi | |
parent | e04d05e51577e5b1a047304a90951e90fd0a209c (diff) | |
download | decorator-3b94f2101d7530ae9ed0aafcccd10e3b40457a75.tar.gz |
Allow pointing to a different configuration file via envvar
Diffstat (limited to 'pypi.wsgi')
-rw-r--r-- | pypi.wsgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ from functools import partial store.keep_conn = True -CONFIG_FILE = os.path.join(prefix, 'config.ini') +CONFIG_FILE = os.environ.get("PYPI_CONFIG", os.path.join(prefix, "config.ini")) class Request: |