Correcting exception handling in glance-manage

Fixes bug 884432

Change-Id: I76c0a97e502dd05b4c56c84fa640d1f0e0cd48ae
This commit is contained in:
Brian Waldon 2011-11-01 10:14:36 -04:00
parent 1ccc0e2f13
commit 45c7280783

View File

@ -110,7 +110,7 @@ def dispatch_cmd(options, args):
try: try:
cmd_func(options, args) cmd_func(options, args)
except exception.Error, e: except exception.GlanceException, e:
sys.exit("ERROR: %s" % e) sys.exit("ERROR: %s" % e)