~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-09-22 06:10:15 UTC
  • Revision ID: mbp@sourcefrog.net-20050922061015-23bed374bde632fb
- give possible traceback when interrupted

Show diffs side-by-side

added added

removed removed

Lines of Context:
652
652
        bzrlib.trace.log_exception('assertion failed: ' + str(e))
653
653
        return 3
654
654
    except KeyboardInterrupt, e:
655
 
        bzrlib.trace.note('interrupted')
 
655
        bzrlib.trace.log_exception('interrupted')
656
656
        return 2
657
657
    except Exception, e:
658
658
        import errno