~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Aaron Bentley
  • Date: 2008-04-24 04:58:42 UTC
  • mfrom: (3377 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3380.
  • Revision ID: aaron@aaronbentley.com-20080424045842-0cajl9v6s4u52kaw
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
            ## mutter("trying editor: %r", (edargs +[filename]))
62
62
            x = call(edargs + [filename])
63
63
        except OSError, e:
64
 
           # We're searching for an editor, so catch safe errors and continue
65
 
           if e.errno in (errno.ENOENT, ):
66
 
               continue
67
 
           raise
 
64
            # We're searching for an editor, so catch safe errors and continue
 
65
            if e.errno in (errno.ENOENT, ):
 
66
                continue
 
67
            raise
68
68
        if x == 0:
69
69
            return True
70
70
        elif x == 127: