summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-04-26 15:19:40 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-04-26 15:19:40 -0500
commit6e974603a397fd881d7b87fefd01ba66d5b6b83c (patch)
treed4475724ca0d4a7f3ff43555c2d16281d9c3be04 /src
parentbef2d0c73eb0b3fd071f616aa43a945ae2d103b7 (diff)
downloadbcfg2-6e974603a397fd881d7b87fefd01ba66d5b6b83c.tar.gz
bcfg2-6e974603a397fd881d7b87fefd01ba66d5b6b83c.tar.bz2
bcfg2-6e974603a397fd881d7b87fefd01ba66d5b6b83c.zip
Plugins: Fix import and indent errors
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
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: