From 6e974603a397fd881d7b87fefd01ba66d5b6b83c Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 26 Apr 2011 15:19:40 -0500 Subject: Plugins: Fix import and indent errors Signed-off-by: Sol Jerome --- src/lib/Server/Plugin.py | 1 + src/lib/Server/Plugins/Packages.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3-1-g7c22