1.1 --- a/WebStack/Resources/ResourceMap.py Sat Feb 19 14:01:49 2005 +0000
1.2 +++ b/WebStack/Resources/ResourceMap.py Sat Feb 19 14:16:11 2005 +0000
1.3 @@ -36,18 +36,16 @@
1.4 name = parts[1]
1.5 else:
1.6 name = None
1.7 - print "*", name
1.8
1.9 # Get the mapped resource.
1.10
1.11 resource = self.mapping.get(name)
1.12 - print "**", resource
1.13
1.14 # If a resource was found, change the transaction's path info, then
1.15 # invoke the transaction, transferring control completely.
1.16
1.17 - new_path_info = "/".join(parts[0:1] + parts[2:])
1.18 - print "***", new_path_info
1.19 + new_path = parts[0:1] + (parts[2:] or [""])
1.20 + new_path_info = "/".join(new_path)
1.21 trans.set_path_info(new_path_info)
1.22
1.23 if resource is not None: