summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-09-10 23:19:00 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-09-10 23:19:00 +0000
commit788a82c92502150e5418f354b5f08ab91fcc4d20 (patch)
tree471b288d2af26c9ab974fe3a17d7378f6d1361b4 /src/sbin
parent916ee936d6b83e464b8d3e4e9a90fc4dde0a2d19 (diff)
downloadbcfg2-788a82c92502150e5418f354b5f08ab91fcc4d20.tar.gz
bcfg2-788a82c92502150e5418f354b5f08ab91fcc4d20.tar.bz2
bcfg2-788a82c92502150e5418f354b5f08ab91fcc4d20.zip
* 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
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-info4
1 files changed, 3 insertions, 1 deletions
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: