Commit cb92509c authored by Jim Fulton's avatar Jim Fulton

.. please die!

parent 3ab7fd4e
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
# file. # file.
# #
############################################################################## ##############################################################################
__version__='$Revision: 1.1 $'[11:-2] __version__='$Revision: 1.2 $'[11:-2]
from string import join, split, find, rfind, lower, upper from string import join, split, find, rfind, lower, upper
from urllib import quote from urllib import quote
...@@ -286,10 +286,7 @@ class BaseRequest: ...@@ -286,10 +286,7 @@ class BaseRequest:
try: subobject=object[entry_name] try: subobject=object[entry_name]
except (KeyError, IndexError, except (KeyError, IndexError,
TypeError, AttributeError): TypeError, AttributeError):
if entry_name=='.': subobject=object if debug_mode:
elif entry_name=='..' and parents:
subobject=parents[-1]
elif debug_mode:
return response.debugError( return response.debugError(
"Cannot locate object at: %s" %URL) "Cannot locate object at: %s" %URL)
else: return response.notFoundError(URL) else: return response.notFoundError(URL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment