[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
Nicolas DUPEUX
nicolas.dupeux at arkea.com
Tue Feb 28 22:21:15 UTC 2012
The following commit has been merged in the debian/master branch:
commit 2b173c3316db68f38220d9150c3d6e6b8edd0c40
Author: Nicolas DUPEUX <nicolas.dupeux at arkea.com>
Date: Thu Feb 16 17:49:24 2012 +0100
Fix typos in load_global_conf
diff --git a/shinken/objects/item.py b/shinken/objects/item.py
index b9e2f13..0728ba5 100644
--- a/shinken/objects/item.py
+++ b/shinken/objects/item.py
@@ -142,18 +142,18 @@ Like temporary attributes such as "imported_from", etc.. """
setattr(self, prop, entry.default)
- # We load every usefull parameter so no need to access global conf later
- # Must be called after a change in a gloabl conf parameter
+ # We load every useful parameter so no need to access global conf later
+ # Must be called after a change in a global conf parameter
def load_global_conf(cls, conf):
""" Used to put global values in the sub Class like
- hosts ro services """
+ hosts or services """
# conf have properties, if 'enable_notifications' :
# { [...] 'class_inherit' : [(Host, None), (Service, None),
# (Contact, None)]}
# get the name and put the value if None, put the Name
# (not None) if not (not clear ?)
for prop, entry in conf.properties.items():
- # If we have a class_inherit, and the arbtier really send us it
+ # If we have a class_inherit, and the arbiter really send us it
# if 'class_inherit' in entry and hasattr(conf, prop):
if hasattr(conf, prop):
for (cls_dest, change_name) in entry.class_inherit:
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list