From 47dafd94227e159d748cb2c124d8c42427e47980 Mon Sep 17 00:00:00 2001 From: Peter Ericson Date: Thu, 22 Sep 2016 22:21:14 +1000 Subject: [PATCH] flake8 --- yamllint/rules/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yamllint/rules/__init__.py b/yamllint/rules/__init__.py index e7969878..42489dc6 100644 --- a/yamllint/rules/__init__.py +++ b/yamllint/rules/__init__.py @@ -64,7 +64,7 @@ def get(id): sys.path.append('.yamllint') module = importlib.import_module('rules.' + id) _RULES[module.ID] = module - except ImportError as exc: + except ImportError: pass if id not in _RULES: