diff options
author | Donald Stufft <donald@stufft.io> | 2013-06-17 20:33:17 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2013-06-17 20:33:17 -0400 |
commit | aff07113c9ebc797b0d5601eb3a6908eb7c7acb1 (patch) | |
tree | b6a85ec62e9d58eb068e0fa69edc76dcb9cf6f47 /pypi.wsgi | |
parent | af64b4e42410f28bb6a42463be0773a0167b428a (diff) | |
download | decorator-aff07113c9ebc797b0d5601eb3a6908eb7c7acb1.tar.gz |
Allow overriding the PyPI config file
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: |