summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugin.py1
-rw-r--r--src/lib/Server/Plugins/Packages.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index e18bf09a1..6351a9eb1 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -8,6 +8,7 @@ import os
import pickle
import posixpath
import re
+import sys
import threading
from lxml.etree import XML, XMLSyntaxError
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index 5346111c4..1178aadaa 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -851,7 +851,7 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
xdata = xdata.getroot()
except (lxml.etree.XIncludeError, \
lxml.etree.XMLSyntaxError):
- xmlerr = sys.exc_info()[1]
+ xmlerr = sys.exc_info()[1]
self.logger.error("Package: Error processing xml: %s" % xmlerr)
raise Bcfg2.Server.Plugin.PluginInitError
except IOError: