~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/msgeditor.py

  • Committer: jfmeinel
  • Date: 2006-06-10 13:58:01 UTC
  • mto: (1711.7.2 win32)
  • mto: This revision was merged to the branch mainline in revision 1796.
  • Revision ID: jfmeinel@Ghazal-20060610135801-1ed9433a07de5f6c
current python may be running in a path that has a space, so properly quote the python exe name. for test_msgeditor

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 mutter
29
30
 
30
31
 
31
32
def _get_editor():
56
57
    for e in _get_editor():
57
58
        edargs = e.split(' ')
58
59
        try:
 
60
            ## mutter("trying editor: %r", (edargs +[filename]))
59
61
            x = call(edargs + [filename])
60
62
        except OSError, e:
61
63
           # We're searching for an editor, so catch safe errors and continue