Module: check_mk
Branch: master
Commit: 3b98d06295149aabe8bbdc322a21f5539c2fcccb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3b98d06295149a…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 17 10:36:08 2017 +0100
Fixed broken condition
Change-Id: I51c4515e871bc509a6fb604e26f05ea7ac30f62d
---
tests/web/test_crawl.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/web/test_crawl.py b/tests/web/test_crawl.py
index a3a37dd..2dd0706 100644
--- a/tests/web/test_crawl.py
+++ b/tests/web/test_crawl.py
@@ -258,7 +258,7 @@ class Worker(threading.Thread):
raise InvalidUrl("Skipping filled in filter URL: %s" % url)
# Don't follow the view editor
- if "edit_view.py":
+ if "edit_view.py" in url:
raise InvalidUrl("Skipping view editor URL: %s" % url)
# Skip agent download files