diff options
| author | ianb <ianb@localhost> | 2005-09-21 21:31:23 +0000 |
|---|---|---|
| committer | ianb <ianb@localhost> | 2005-09-21 21:31:23 +0000 |
| commit | f5a787203a2b6524a6d2098dba3ec96f35d0cc4f (patch) | |
| tree | 71e3bf51f3c6aef35700703ac84b69d3e8579a5d | |
| parent | 331c51a5aa0b86f02e141821dcea64cf979f0f9e (diff) | |
| download | pastedeploy-git-f5a787203a2b6524a6d2098dba3ec96f35d0cc4f.tar.gz | |
Fixes suggested by pyflakes
| -rw-r--r-- | paste/deploy/loadwsgi.py | 6 | ||||
| -rw-r--r-- | paste/deploy/tag.py | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/paste/deploy/loadwsgi.py b/paste/deploy/loadwsgi.py index 0295f69..48ebf4b 100644 --- a/paste/deploy/loadwsgi.py +++ b/paste/deploy/loadwsgi.py @@ -229,11 +229,11 @@ class _Loader(object): def get_filter(self, name=None, global_conf=None): return self.filter_context( - name=naame, global_conf=global_conf).create() + name=name, global_conf=global_conf).create() def get_server(self, name=None, global_conf=None): return self.server_context( - name=naame, global_conf=global_conf).create() + name=name, global_conf=global_conf).create() def app_context(self, name=None, global_conf=None): return self.get_context( @@ -505,7 +505,7 @@ class EggLoader(_Loader): if len(possible) > 1: raise LookupError( "Ambiguous entry points for %r in egg %r (protocols: %s)" - % (name, self.spec, ', '.join(_flatten(protocol_list)))) + % (name, self.spec, ', '.join(_flatten(protocol_options)))) return possible[0] class LoaderContext(object): diff --git a/paste/deploy/tag.py b/paste/deploy/tag.py index 00cbb8a..bb01d3a 100644 --- a/paste/deploy/tag.py +++ b/paste/deploy/tag.py @@ -12,7 +12,6 @@ except ImportError: import re import sys import os -import shutil import tempfile class tag(Command): |
