~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-12-15 21:00:20 UTC
  • mfrom: (3113.5.1 test.174055)
  • Revision ID: pqm@pqm.ubuntu.com-20071215210020-m28kk1qmbcc9n6qs
(bialix) XFAIL test for #174055: can't run bzr info while dirstate
 is locked

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: