summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-15 14:53:18 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-15 14:56:58 -0400
commita6b6871ecbc700229969f350b869bd19e785129d (patch)
treef694f842f448d9faf6209c0b4bcbb4362f2d7130 /src/sbin/bcfg2-info
parentbe1fd87aa8a3d2900483326b93f4a2800ec716fc (diff)
downloadbcfg2-a6b6871ecbc700229969f350b869bd19e785129d.tar.gz
bcfg2-a6b6871ecbc700229969f350b869bd19e785129d.tar.bz2
bcfg2-a6b6871ecbc700229969f350b869bd19e785129d.zip
Removed deprecated plugins BB, Svcmgr, SGenshi
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-xsrc/sbin/bcfg2-info4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index d8dd4a3c8..1af4bd8da 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -30,7 +30,7 @@ import Bcfg2.Server.Plugins.Metadata
import Bcfg2.Server.Plugin
try:
- import Bcfg2.Server.Plugins.SGenshi
+ from Bcfg2.Server.Plugins.Bundler import BundleTemplateFile
has_genshi = True
except ImportError:
has_genshi = False
@@ -420,7 +420,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.BaseCore):
bundle = self.plugins['Bundler'].entries[bname]
if (has_genshi and
isinstance(bundle,
- Bcfg2.Server.Plugins.SGenshi.SGenshiTemplateFile)):
+ BundleTemplateFile)):
stream = bundle.template.generate(metadata=metadata)
print(stream.render("xml"))
else: