/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Aaron Bentley
  • Date: 2007-06-25 14:27:08 UTC
  • mto: This revision was merged to the branch mainline in revision 2549.
  • Revision ID: abentley@panoramicfeedback.com-20070625142708-m7i0qrtxi7k5y2o7
Don't suppress pipe errors for non-display commaneds (Belchenko, #87178)

Show diffs side-by-side

added added

removed removed

Lines of Context:
712
712
 
713
713
def run_bzr_catch_errors(argv):
714
714
    try:
715
 
        try:
716
 
            return run_bzr(argv)
717
 
        finally:
718
 
            # do this here inside the exception wrappers to catch EPIPE
719
 
            sys.stdout.flush()
 
715
        return run_bzr(argv)
720
716
    except (KeyboardInterrupt, Exception), e:
721
717
        # used to handle AssertionError and KeyboardInterrupt
722
718
        # specially here, but hopefully they're handled ok by the logger now