summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-05-22 10:56:09 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-05-22 10:56:09 -0400
commit583bb62f2da989b2c6e42b99c30978fc4ff87d23 (patch)
treea89486a41df6decef4cf8ddfe4af8f594f43313c /src
parentcc5328915f2faa96a24ec8dab343e6cf7e9bdefd (diff)
downloadbcfg2-583bb62f2da989b2c6e42b99c30978fc4ff87d23.tar.gz
bcfg2-583bb62f2da989b2c6e42b99c30978fc4ff87d23.tar.bz2
bcfg2-583bb62f2da989b2c6e42b99c30978fc4ff87d23.zip
minor cleanup
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Core.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index 9fa42cfd1..bbeceb3f2 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -72,10 +72,9 @@ class Core(Component):
try:
self.fam = Bcfg2.Server.FileMonitor.available[filemonitor]()
except IOError:
- logger.error("Failed to instantiate fam driver %s" % filemonitor,
- exc_info=1)
- raise CoreInitError("failed to instantiate fam driver (used %s)" % \
- filemonitor)
+ msg = "Failed to instantiate fam driver %s" % filemonitor
+ logger.error(msg, exc_info=1)
+ raise CoreInitError(msg)
self.pubspace = {}
self.cfile = cfile
self.cron = {}