summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-06-17 20:33:17 -0400
committerDonald Stufft <donald@stufft.io>2013-06-17 20:33:17 -0400
commitaff07113c9ebc797b0d5601eb3a6908eb7c7acb1 (patch)
treeb6a85ec62e9d58eb068e0fa69edc76dcb9cf6f47
parentaf64b4e42410f28bb6a42463be0773a0167b428a (diff)
downloaddecorator-aff07113c9ebc797b0d5601eb3a6908eb7c7acb1.tar.gz
Allow overriding the PyPI config file
-rw-r--r--pypi.wsgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/pypi.wsgi b/pypi.wsgi
index 48a2220..aa33e79 100644
--- a/pypi.wsgi
+++ b/pypi.wsgi
@@ -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: