~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/diff.py

  • Committer: Aaron Bentley
  • Date: 2007-12-28 16:52:08 UTC
  • mto: This revision was merged to the branch mainline in revision 3154.
  • Revision ID: abentley@panoramicfeedback.com-20071228165208-7lw04cwy51rxagsk
Don't swallow other OSErrors

Show diffs side-by-side

added added

removed removed

Lines of Context:
780
780
        except OSError, e:
781
781
            if e.errno == errno.ENOENT:
782
782
                raise errors.ExecutableMissing(command[0])
 
783
            else:
 
784
                raise
783
785
        self.to_file.write(proc.stdout.read())
784
786
        return proc.wait()
785
787