From 79320015c183266927dd776f075189752d20fa3f Mon Sep 17 00:00:00 2001 From: ianb Date: Sun, 18 Dec 2005 21:19:02 +0000 Subject: 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 --- paste/urlparser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'paste/urlparser.py') 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( -- cgit v1.2.1