diff options
author | ianb <devnull@localhost> | 2005-12-18 21:30:27 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2005-12-18 21:30:27 +0000 |
commit | 4f3e0083b010a2e90b95ef1563bb06db45ad026b (patch) | |
tree | 58d9ddc0bc585916432f21da6cc2fd7a0fafc965 /paste/urlparser.py | |
parent | d338677fe8c4b468ad89caf5998c73e290d7b49b (diff) | |
download | paste-4f3e0083b010a2e90b95ef1563bb06db45ad026b.tar.gz |
Moved all the internal uses of wsgilib to their correct forms now
Diffstat (limited to 'paste/urlparser.py')
-rw-r--r-- | paste/urlparser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/urlparser.py b/paste/urlparser.py index 9d43a1a..17c2fef 100644 --- a/paste/urlparser.py +++ b/paste/urlparser.py @@ -335,7 +335,7 @@ def make_directory(parser, environ, filename): URLParser.register_constructor('dir', make_directory) def make_unknown(parser, environ, filename): - return wsgilib.send_file(filename) + return fileapp.FileApp(filename) URLParser.register_constructor('*', make_unknown) @@ -431,7 +431,7 @@ class StaticURLParser(object): return self.__class__(full)(environ, start_response) if environ.get('PATH_INFO') and environ.get('PATH_INFO') != '/': return self.error_extra_path(environ, start_response) - return wsgilib.send_file(full)(environ, start_response) + return fileapp.FileApp(full)(environ, start_response) def add_slash(self, environ, start_response): """ |