diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-12-12 20:27:35 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-12-12 20:27:35 +0100 |
commit | a571130fbcae0a4be655e4434a1bb47069963c1d (patch) | |
tree | 9ace49d87918ace20d4170341ca53294b223d1ca | |
parent | aa54ddee788b5fce84df6a816135d1f8fa53a54f (diff) | |
download | obnam-a571130fbcae0a4be655e4434a1bb47069963c1d.tar.gz |
Use _ instead of real name for dummy variable
-rw-r--r-- | obnamlib/structurederror_finder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/structurederror_finder.py b/obnamlib/structurederror_finder.py index 1de04c65..3fb2d29c 100644 --- a/obnamlib/structurederror_finder.py +++ b/obnamlib/structurederror_finder.py @@ -57,7 +57,7 @@ def _get_submodules(module): def _find_plugin_modules(plugin_manager): modules = [] for filename in plugin_manager.plugin_files: - module_name, ext = os.path.splitext(os.path.basename(filename)) + module_name, _ = os.path.splitext(os.path.basename(filename)) with open(filename, 'rb') as f: module = imp.load_module( module_name, f, filename, ('.py', 'r', imp.PY_SOURCE)) |