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

Naparuba naparuba at gmail.com
Tue Feb 28 22:17:55 UTC 2012


The following commit has been merged in the debian/master branch:
commit 4895840be26ac5150fb92bc4cc228c64ef51d98f
Author: Naparuba <naparuba at gmail.com>
Date:   Wed Feb 1 09:29:39 2012 +0100

    Fix : (reported by: Steve Kieu) missing get_name() method for config

diff --git a/THANKS b/THANKS
index 55d41f8..9fb87e7 100644
--- a/THANKS
+++ b/THANKS
@@ -55,3 +55,4 @@ To foobar1111 for his ask about fqdn and arbiter matching for hostname
 To twellspring for hs bug report about escalation and templates
 To Michael Leinartas for his patch about man pages
 To Nelson Pascoal for his patch about typos in daemons
+To Steve Kieu for his bug report about missing name in Config object
diff --git a/shinken/objects/config.py b/shinken/objects/config.py
index ef59491..e21e6bb 100644
--- a/shinken/objects/config.py
+++ b/shinken/objects/config.py
@@ -341,6 +341,9 @@ class Config(Item):
         self.configuration_errors = []
 
 
+    def get_name(self):
+        return 'global configuration file'
+
     # We've got macro in the resource file and we want
     # to update our MACRO dict with it
     def fill_resource_macros_names_macros(self):

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list