803
803
except (KeyboardInterrupt, Exception), e:
804
804
# used to handle AssertionError and KeyboardInterrupt
805
805
# specially here, but hopefully they're handled ok by the logger now
807
807
if os.environ.get('BZR_PDB'):
808
808
print '**** entering debugger'
810
810
pdb.post_mortem(sys.exc_traceback)
831
814
class HelpCommandIndex(object):