diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-09-10 23:19:00 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-09-10 23:19:00 +0000 |
commit | 788a82c92502150e5418f354b5f08ab91fcc4d20 (patch) | |
tree | 471b288d2af26c9ab974fe3a17d7378f6d1361b4 /src/sbin | |
parent | 916ee936d6b83e464b8d3e4e9a90fc4dde0a2d19 (diff) | |
download | bcfg2-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-x | src/sbin/bcfg2-info | 4 |
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: |