Module: check_mk
Branch: master
Commit: 7db2902efd6510ac87584c47aabb77ece2304896
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7db2902efd6510…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Feb 3 15:43:04 2012 +0100
Hopefully fix opt_use_cachefile bug (which was new)
---
modules/automation.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/automation.py b/modules/automation.py
index 92ae2c2..f403544 100644
--- a/modules/automation.py
+++ b/modules/automation.py
@@ -167,6 +167,8 @@ def automation_try_inventory(args):
def automation_try_inventory_node(hostname):
+ global opt_use_cachefile
+
try:
ipaddress = lookup_ipaddress(hostname)
except: