From 788a82c92502150e5418f354b5f08ab91fcc4d20 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sun, 10 Sep 2006 23:19:00 +0000 Subject: * Make bcfg2-info not produce a stack trace for PluginExecutionError * Fix some minor typos in TCheetah git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2234 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2-info | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sbin/bcfg2-info') diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 7789b78da..9b7e87473 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -2,7 +2,7 @@ '''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 +import logging, lxml.etree, sys, time, Bcfg2.Logging, Bcfg2.Server.Core, Bcfg2.Server.Metadata, Bcfg2.Server.Plugin def printTabular(rows): '''print data in tabular format''' @@ -188,6 +188,8 @@ if __name__ == '__main__': dispatch[ucmd[0]](ucmd, bcore) except SystemExit, code: raise SystemExit, code + except Bcfg2.Server.Plugin.PluginExecutionError: + continue except: logger.error("command failure", exc_info=1) else: -- cgit v1.2.3-1-g7c22