Hi Folks,

Theses patch fix 2 typos in host.py

Regards,

-- 
Nicolas DUPEUX <nicolas.dup...@arkea.com>
Arkea - Domaine Systèmes
tel : 02.98.00.36.68
--- host.py	2010-12-07 15:58:48.000000000 +0100
+++ host.py.patch1	2010-12-07 15:53:27.000000000 +0100
@@ -631,7 +631,7 @@
             if c.output != self.output:
                 need_stalk = False
         if need_stalk:
-            logger.log("Stalking %s : %s" % (self.get_name(), self.output))
+            logger.log("Stalking %s : %s", self.get_name(), self.output)
 
 
     #fill act_depend_of with my parents (so network dep)
--- host.py.patch1	2010-12-07 15:53:27.000000000 +0100
+++ host.py	2010-12-07 15:54:32.000000000 +0100
@@ -322,8 +322,8 @@
                 logger.log(err)
 
         #Ok now we manage special cases...
-        if not hasattr(self, 'contacts') and not hasattr(self, 'contacgroups') and self.notifications_enabled == True:
-            logger.log("%s : I do not have contacts nor contacgroups" % self.get_name())
+        if not hasattr(self, 'contacts') and not hasattr(self, 'contact_groups') and self.notifications_enabled == True:
+            logger.log("%s : I do not have contacts nor contact_groups" % self.get_name())
             state = False
         if not hasattr(self, 'check_command') or self.check_command == None:
             logger.log("%s : I've got no check_command" % self.get_name())
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to