Module: check_mk
Branch: master
Commit: 98fb33da5938af4d67195276abef71932f5fd7e0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=98fb33da5938af…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Wed Oct 19 10:08:58 2016 +0200
Fixed pylint error when parsing hidden files.
---
tests/pylint/test_pylint_web.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/pylint/test_pylint_web.py b/tests/pylint/test_pylint_web.py
index 505cc9c..dfb4cab 100755
--- a/tests/pylint/test_pylint_web.py
+++ b/tests/pylint/test_pylint_web.py
@@ -56,7 +56,9 @@ def test_pylint_web():
for plugin_file, plugin_base in files:
plugin_path = plugin_base +"/"+plugin_file
- if plugin_dir in ["icons","perfometer"]:
+ if plugin_file.startswith('.'):
+ continue
+ elif plugin_dir in ["icons","perfometer"]:
module_name = "views"
elif plugin_dir == "pages":
module_name = "modules"