[checkmk-commits] Check_MK Git: check_mk: Removed todo notes
Lars Michelsen
lm at mathias-kettner.de
Thu Apr 9 09:01:10 CEST 2015
Module: check_mk
Branch: master
Commit: 1e766a183833f5d075a8bba3831f48da8b04c840
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1e766a183833f5d075a8bba3831f48da8b04c840
Author: Lars Michelsen <lm at mathias-kettner.de>
Date: Thu Apr 9 09:01:07 2015 +0200
Removed todo notes
---
modules/check_mk.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 4b43fd0..e7c3a6f 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -1721,7 +1721,6 @@ def convert_pattern(pattern):
elif is_prefix_match(pattern):
# prefix match with tailing .*
pattern = pattern[:-2]
- # TODO: Should we not rather use startswith()?
return negate, lambda txt: txt[:len(pattern)] == pattern
elif is_regex(pattern):
@@ -1730,7 +1729,6 @@ def convert_pattern(pattern):
else:
# prefix match without any regex chars
- # TODO: Should we not rather use startswith()?
return negate, lambda txt: txt[:len(pattern)] == pattern
More information about the checkmk-commits
mailing list