[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

Sebastien Coavoux s.coavoux at free.fr
Tue Feb 28 22:06:16 UTC 2012


The following commit has been merged in the debian/master branch:
commit 08fe7e2591ee8d92d8bc3065baa763b1059fc57a
Author: Sebastien Coavoux <s.coavoux at free.fr>
Date:   Wed Nov 16 19:32:59 2011 +0100

     O!=0 :)

diff --git a/shinken/modules/ndodb_mysql_broker/__init__.py b/shinken/modules/ndodb_mysql_broker/__init__.py
index 67e9bf8..6fef3dd 100644
--- a/shinken/modules/ndodb_mysql_broker/__init__.py
+++ b/shinken/modules/ndodb_mysql_broker/__init__.py
@@ -40,7 +40,7 @@ def get_instance(mod_conf):
         #TODO : Use a Boolean  ?
         mod_conf.synchronise_database_id = '0'
         instance = Ndodb_Mysql_broker(mod_conf)
-    elif mod_conf.synchronise_database_id == 'O' :
+    elif mod_conf.synchronise_database_id == '0' :
         instance = Ndodb_Mysql_broker(mod_conf)
     else :
         instance = Ndodb_Mysql_broker_sync(mod_conf)

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list