summaryrefslogtreecommitdiff
path: root/paste/urlparser.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-12-18 21:19:02 +0000
committerianb <devnull@localhost>2005-12-18 21:19:02 +0000
commit79320015c183266927dd776f075189752d20fa3f (patch)
tree9abc12d5417d94e20a5e96f5325bba302306e221 /paste/urlparser.py
parent996f4fbc2119a6ff05aeb1efa55d4f3c58d45313 (diff)
downloadpaste-79320015c183266927dd776f075189752d20fa3f.tar.gz
Added -W option to tests, which will turn warnings into errors (warnings haven't actually been removed yet, though). Split response and fileapp from wsgilib. Some portions of wsgilib may still move to response module, this is just the first cut
Diffstat (limited to 'paste/urlparser.py')
-rw-r--r--paste/urlparser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/urlparser.py b/paste/urlparser.py
index a72124a..9d43a1a 100644
--- a/paste/urlparser.py
+++ b/paste/urlparser.py
@@ -8,6 +8,7 @@ import pkg_resources
import mimetypes
import wsgilib
import request
+import fileapp
from paste.util import import_string
from paste.deploy import converters
import httpexceptions
@@ -515,7 +516,7 @@ class PkgResourcesParser(StaticURLParser):
return exc.wsgi_application(environ, start_response)
start_response('200 OK',
[('content-type', type)])
- return wsgilib._FileIter(file)
+ return fileapp._FileIter(file)
def not_found(self, environ, start_response, debug_message=None):
exc = httpexceptions.HTTPNotFound(