From 654ab75a978a6177c52fdf7cfa0f8d22f8dd4742 Mon Sep 17 00:00:00 2001 From: ianb Date: Thu, 30 Jun 2005 20:45:30 +0000 Subject: Patch from Thomas Jenkins (ticket #18, not completely applied to packing.py) --- paste/wareweb/dispatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'paste/wareweb/dispatch.py') 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: -- cgit v1.2.1