From 81bd425bc158fa0bfa5b39640f7e088deaf56587 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 22 Nov 2006 22:09:01 +0000 Subject: Fix imports due to metadata change * Probe data inclusion in client metadata is now tested (Resolves Ticket #243) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2527 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2-info | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sbin') diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 9b7e87473..be78075bb 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -2,7 +2,8 @@ '''This tool loads the Bcfg2 core into an interactive debugger''' __revision__ = '$Revision$' -import logging, lxml.etree, sys, time, Bcfg2.Logging, Bcfg2.Server.Core, Bcfg2.Server.Metadata, Bcfg2.Server.Plugin +import logging, lxml.etree, sys, time, Bcfg2.Logging, Bcfg2.Server.Core +import Bcfg2.Server.Plugins.Metadata, Bcfg2.Server.Plugin def printTabular(rows): '''print data in tabular format''' @@ -30,7 +31,7 @@ def doShowentries(cmd, core): return try: meta = core.metadata.get_metadata(cmd[1]) - except Bcfg2.Server.Metadata.MetadataConsistencyError: + except Bcfg2.Server.Plugins.Metadata.MetadataConsistencyError: print "Unable to find metadata for host %s" % cmd[1] return structures = core.GetStructures(meta) -- cgit v1.2.3-1-g7c22