summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-02-06 20:05:15 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-02-06 20:05:15 +0000
commit193baaf9d157d70cb62a8fc434fa480393625561 (patch)
tree358bef744209d9af1420974d3aa7abb3e6c4ed47
parent1ccacb00a5b203b78596553ad4cc52cd5a838485 (diff)
downloadbcfg2-193baaf9d157d70cb62a8fc434fa480393625561.tar.gz
bcfg2-193baaf9d157d70cb62a8fc434fa480393625561.tar.bz2
bcfg2-193baaf9d157d70cb62a8fc434fa480393625561.zip
Fix traceback upon error message [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4334 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/Deps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Deps.py b/src/lib/Server/Plugins/Deps.py
index eb215a564..ef1bc86ea 100644
--- a/src/lib/Server/Plugins/Deps.py
+++ b/src/lib/Server/Plugins/Deps.py
@@ -95,5 +95,5 @@ class Deps(Bcfg2.Server.Plugin.PrioDir):
try:
lxml.etree.SubElement(newstruct, tag, name=name)
except:
- self.logger("Failed to add dep entry for %s:%s" % (tag, name))
+ self.logger.error("Failed to add dep entry for %s:%s" % (tag, name))
return newstruct