summaryrefslogtreecommitdiff
path: root/tests/urlparser_data
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-12-18 21:30:27 +0000
committerianb <devnull@localhost>2005-12-18 21:30:27 +0000
commit4f3e0083b010a2e90b95ef1563bb06db45ad026b (patch)
tree58d9ddc0bc585916432f21da6cc2fd7a0fafc965 /tests/urlparser_data
parentd338677fe8c4b468ad89caf5998c73e290d7b49b (diff)
downloadpaste-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__.py4
-rw-r--r--tests/urlparser_data/not_found/user/__init__.py4
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