diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-05-22 10:56:09 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-05-22 10:56:09 -0400 |
commit | 583bb62f2da989b2c6e42b99c30978fc4ff87d23 (patch) | |
tree | a89486a41df6decef4cf8ddfe4af8f594f43313c /src | |
parent | cc5328915f2faa96a24ec8dab343e6cf7e9bdefd (diff) | |
download | bcfg2-583bb62f2da989b2c6e42b99c30978fc4ff87d23.tar.gz bcfg2-583bb62f2da989b2c6e42b99c30978fc4ff87d23.tar.bz2 bcfg2-583bb62f2da989b2c6e42b99c30978fc4ff87d23.zip |
minor cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Core.py | 7 |
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 = {} |