summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugins/Packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 01e25c96f..43fd9cf6b 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -315,8 +315,8 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
try:
xdata = lxml.etree.parse(self.data + '/config.xml').getroot()
except IOError, e:
- print("Failed to read Packages configuration. Have you"
- " created your config.xml file?")
+ self.logger.error("Failed to read Packages configuration. Have"
+ " you created your config.xml file?")
raise Bcfg2.Server.Plugin.PluginInitError
self.sources = []
for s in xdata.findall('APTSource'):