diff options
| author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-16 00:10:26 +0200 |
|---|---|---|
| committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-16 00:10:26 +0200 |
| commit | 8912df6469047b0d70b01755dc33c1d56e91b05a (patch) | |
| tree | 42334045e5673760a9a16c5402445d581b7a37f8 /src | |
| parent | fc2bbdeec62a9006fde4bbd004ad4e5c81601c7e (diff) | |
Remove unused references found by pychecker
Diffstat (limited to 'src')
| -rw-r--r-- | src/nbblib/plugins.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nbblib/plugins.py b/src/nbblib/plugins.py index c3ab4fb..a21e2d4 100644 --- a/src/nbblib/plugins.py +++ b/src/nbblib/plugins.py @@ -62,9 +62,7 @@ Ideas: """ -import sys import logging -import types import functools import inspect @@ -311,7 +309,7 @@ class GenericDetectPlugin(object): if klass.validate(t, context, *args, **kwargs): logging.debug("KLASS %s validated", klass) matches[key] = t - except PluginNoMatch, e: + except PluginNoMatch: pass logging.debug("Matches: %s", matches) if len(matches) > 1: |
