From 1574c1d13f116ba7291eeb105766d195de5a3022 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Sat, 30 Oct 2010 21:52:50 +0000 Subject: [PATCH] py-i2phosts-checker: bugfix: quote sam_addr --- py-i2phosts-checker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-i2phosts-checker b/py-i2phosts-checker index 6e0d3c7..fd926b9 100755 --- a/py-i2phosts-checker +++ b/py-i2phosts-checker @@ -51,7 +51,7 @@ log = get_logger(filename=log_file, log_level=log_level) all_hosts = i2phost.objects.all() # determine SAM interface address -if sam_addr in config: +if 'sam_addr' in config: sam_addr = config['sam_addr'] else: log.warning('SAM address isn\'t specified in config, falling back to localhost')