From d6c5f756a93fa38dbb77e4eb23c7ee45296d554c Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Fri, 7 Apr 2006 18:18:54 +0000 Subject: Improve error messages for Svc/Pkgmgr Remove component name from unknown type stdout messages git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1825 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Server/Plugin.py') diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py index b83ea422b..4c4406747 100644 --- a/src/lib/Server/Plugin.py +++ b/src/lib/Server/Plugin.py @@ -301,7 +301,7 @@ class XMLPrioDir(Plugin, DirectoryBacked): else: prio = [int(src.priority) for src in matching] if prio.count(max(prio)) > 1: - self.logger.error("Found multiple %s sources with same priority for %s, pkg %s" % + self.logger.error("Found conflicting %s sources with same priority for %s, pkg %s" % (self.__element__.lower(), metadata.hostname, entry.get('name'))) raise PluginExecutionError index = prio.index(max(prio)) -- cgit v1.2.3-1-g7c22