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 /tests/urlparser_data | |
| parent | d338677fe8c4b468ad89caf5998c73e290d7b49b (diff) | |
| download | paste-4f3e0083b010a2e90b95ef1563bb06db45ad026b.tar.gz | |
Moved all the internal uses of wsgilib to their correct forms now
Diffstat (limited to 'tests/urlparser_data')
| -rw-r--r-- | tests/urlparser_data/hook/__init__.py | 4 | ||||
| -rw-r--r-- | tests/urlparser_data/not_found/user/__init__.py | 4 |
2 files changed, 4 insertions, 4 deletions
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 |
