Package: stgit
Version: 0.14.1-3
Severity: serious
Justification: Policy 11.4
Default editor should be /usr/bin/editor instead of vi.
I guess this can be done by modifying the following portion of
/usr/share/python-support/stgit/stgit/utils.py
def call_editor(filename):
"""Run the editor on the specified filename."""
# the editor
editor = config.get('stgit.editor')
if editor:
pass
elif 'EDITOR' in os.environ:
editor = os.environ['EDITOR']
else:
editor = 'vi'
editor += ' %s' % filename
out.start('Invoking the editor: "%s"' % editor)
err = os.system(editor)
if err:
raise EditorException, 'editor failed, exit code: %d' % err
out.done()
Best wishes,
Gábor Braun
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable'), (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Versions of packages stgit depends on:
ii git-core 1:1.5.3.8-1 fast, scalable, distributed revisi
ii python 2.4.4-2 An interactive high-level object-o
ii python-support 0.7.6 automated rebuilding support for p
Versions of packages stgit recommends:
ii git-core 1:1.5.3.8-1 fast, scalable, distributed revisi
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]