~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: Martin Pool
  • Date: 2006-06-20 05:32:16 UTC
  • mfrom: (1797 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1798.
  • Revision ID: mbp@sourcefrog.net-20060620053216-817857d7ca3e9d1f
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import bzrlib
27
27
import bzrlib.config as config
28
28
from bzrlib.errors import BzrError
29
 
from bzrlib.trace import warning
 
29
from bzrlib.trace import warning, mutter
30
30
 
31
31
 
32
32
def _get_editor():
57
57
    for e in _get_editor():
58
58
        edargs = e.split(' ')
59
59
        try:
 
60
            ## mutter("trying editor: %r", (edargs +[filename]))
60
61
            x = call(edargs + [filename])
61
62
        except OSError, e:
62
63
           # We're searching for an editor, so catch safe errors and continue