diff options
author | Christian Theune <ct@gocept.com> | 2013-06-13 15:41:12 +0200 |
---|---|---|
committer | Christian Theune <ct@gocept.com> | 2013-06-13 15:41:12 +0200 |
commit | cf6d1629d1e480aa53a9c0c3ea2128303c8fdb82 (patch) | |
tree | 694abe407500558dcf0ad7832a91b53211d8f26f | |
parent | ed6f07a1fc2778617e74bdc63ab21003dfcd8b9e (diff) | |
download | decorator-cf6d1629d1e480aa53a9c0c3ea2128303c8fdb82.tar.gz |
Allow serving the packages from the standalone wsgi application.
-rw-r--r-- | pypi.wsgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ def application(environ, start_response): def site_fake(app, environ, start_response): PATH_INFO = environ['PATH_INFO'] m = re.match('^/(pypi|simple|daytime|serversig|mirrors|id|oauth|' - 'security)(.*)', PATH_INFO) + 'security|packages)(.*)', PATH_INFO) if not m: start_response("404 not found", [('Content-type', 'text/plain')]) return ['Not Found: %s' % PATH_INFO] |