summaryrefslogtreecommitdiff
path: root/paste/wareweb/dispatch.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-06-30 20:45:30 +0000
committerianb <devnull@localhost>2005-06-30 20:45:30 +0000
commit654ab75a978a6177c52fdf7cfa0f8d22f8dd4742 (patch)
tree966b95f8edaa33506e9e1222a784569e0507986e /paste/wareweb/dispatch.py
parentef0891eb3d26c8ae3464c9a7adf8093ddec9ad7b (diff)
downloadpaste-654ab75a978a6177c52fdf7cfa0f8d22f8dd4742.tar.gz
Patch from Thomas Jenkins (ticket #18, not completely applied to packing.py)
Diffstat (limited to 'paste/wareweb/dispatch.py')
-rw-r--r--paste/wareweb/dispatch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/wareweb/dispatch.py b/paste/wareweb/dispatch.py
index 8cfc6ec..3e5f78b 100644
--- a/paste/wareweb/dispatch.py
+++ b/paste/wareweb/dispatch.py
@@ -76,9 +76,9 @@ class PathDispatch(MethodDispatch):
def find_method(self, servlet, ret_value):
parts = servlet.path_parts
if not parts:
- action == 'index'
+ action = 'index'
else:
- action == parts[0]
+ action = parts[0]
servlet.path_parts = parts[1:]
name, method = self.get_method(servlet, action)
if name is None: