This commit is contained in:
Peter Ericson
2016-09-22 22:21:14 +10:00
parent 0b985a063a
commit 47dafd9422

View File

@@ -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: