From 4f3e0083b010a2e90b95ef1563bb06db45ad026b Mon Sep 17 00:00:00 2001 From: ianb Date: Sun, 18 Dec 2005 21:30:27 +0000 Subject: Moved all the internal uses of wsgilib to their correct forms now --- tests/urlparser_data/hook/__init__.py | 4 ++-- tests/urlparser_data/not_found/user/__init__.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/urlparser_data') diff --git a/tests/urlparser_data/hook/__init__.py b/tests/urlparser_data/hook/__init__.py index 9b1055c..985a930 100644 --- a/tests/urlparser_data/hook/__init__.py +++ b/tests/urlparser_data/hook/__init__.py @@ -1,7 +1,7 @@ -from paste import wsgilib +from paste import request def urlparser_hook(environ): - first, rest = wsgilib.path_info_split(environ.get('PATH_INFO', '')) + first, rest = request.path_info_split(environ.get('PATH_INFO', '')) if not first: # No username return diff --git a/tests/urlparser_data/not_found/user/__init__.py b/tests/urlparser_data/not_found/user/__init__.py index c47f88e..4126c04 100644 --- a/tests/urlparser_data/not_found/user/__init__.py +++ b/tests/urlparser_data/not_found/user/__init__.py @@ -1,8 +1,8 @@ -from paste import wsgilib +from paste import request def not_found_hook(environ, start_response): urlparser = environ['paste.urlparser.not_found_parser'] - first, rest = wsgilib.path_info_split(environ.get('PATH_INFO', '')) + first, rest = request.path_info_split(environ.get('PATH_INFO', '')) if not first: # No username return -- cgit v1.2.1