~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-08-01 19:28:52 UTC
  • Revision ID: mbp@sourcefrog.net-20050801192852-aeb6e78a5518e011
- better display of bzr errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
1802
1802
                sys.stdout.flush()
1803
1803
        except BzrError, e:
1804
1804
            quiet = isinstance(e, (BzrCommandError))
1805
 
            _report_exception('error: ' + e.args[0], quiet=quiet)
 
1805
            _report_exception('error: ' + str(e), quiet=quiet)
1806
1806
            if len(e.args) > 1:
1807
1807
                for h in e.args[1]:
1808
1808
                    # some explanation or hints