[PKG-Openstack-devel] Bug#802232: python3-editor: Does not use /usr/bin/editor
Dmitry Shachnev
mitya57 at debian.org
Sun Oct 18 16:15:28 UTC 2015
Package: python3-editor
Version: 0.4-1
Severity: important
Justification: Policy § 11.4
Dear Maintainer,
The Debian Policy § 11.4 (Editors and pagers) [1] says:
| Thus, every program that launches an editor or pager must use the EDITOR or
| PAGER environment variable to determine the editor or pager the user wishes
| to use. If these variables are not set, the programs /usr/bin/editor and
| /usr/bin/pager should be used, respectively.
This package honors the environment variable but does not honor /usr/bin/editor:
$ [ -z "$EDITOR" ] && echo "EDITOR is unset"
EDITOR is unset
$ readlink -f /usr/bin/editor
/usr/bin/vim.tiny
$ /usr/bin/editor --version | head -n1
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 17 2015 03:36:20)
$ python3 -c "import editor; print(editor.get_editor())"
/bin/nano
[1]: https://www.debian.org/doc/debian-policy/ch-customized-programs.html#s11.4
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20151018/75891ee9/attachment.sig>
More information about the Openstack-devel
mailing list