diff options
| author | ianb <devnull@localhost> | 2005-06-30 20:45:30 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-06-30 20:45:30 +0000 |
| commit | 654ab75a978a6177c52fdf7cfa0f8d22f8dd4742 (patch) | |
| tree | 966b95f8edaa33506e9e1222a784569e0507986e /paste/wareweb/dispatch.py | |
| parent | ef0891eb3d26c8ae3464c9a7adf8093ddec9ad7b (diff) | |
| download | paste-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.py | 4 |
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: |
