Module: check_mk
Branch: master
Commit: 3dfe923de8914806cd64d175997db8ee8a9eb101
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3dfe923de89148…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 28 15:13:29 2016 +0200
Fixed issue in last commit
---
tests/testlib/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index 72a3bb3..75567df 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -234,7 +234,7 @@ class Site(object):
def cleanup_old_sites(self, cleanup_pattern):
for site_id in os.listdir("/omd/sites"):
- if site_id != self.id() and site_id.startswith(cleanup_pattern):
+ if site_id != self.id and site_id.startswith(cleanup_pattern):
print "Cleaning up old site: %s" % site_id
#self.rm(site_id)