Package: python-pygments
Version: 1.4+dfsg-2
Severity: important
the script installed to /usr/bin/pygmentize to invoke python-pygments form the
command-line doesn't return the exit status, which makes it problematic for
scriping purposes. However, the (3-year-old) version in the upstream source is
correct.
Since it's so short --
/usr/bin/pygmentize installed by the Debian package
#! /usr/bin/python
import pygments.cmdline
pygments.cmdline.main()
from https://bitbucket.org/birkenfeld/pygments-
main/src/fe89ffc7441d/pygmentize:
#!/usr/bin/env python
import sys, pygments.cmdline
try:
sys.exit(pygments.cmdline.main(sys.argv))
except KeyboardInterrupt:
sys.exit(1)
it would be great if this could be fixed in the package.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-pygments depends on:
ii python 2.6.6-14 interactive high-level object-orie
ii python2.6 2.6.6-10 An interactive high-level object-o
ii python2.7 2.7.1-8 An interactive high-level object-o
Versions of packages python-pygments recommends:
ii python-chardet 2.0.1-1 universal character encoding detec
ii python-pkg-resources 0.6.16-1 Package Discovery and Resource Acc
Versions of packages python-pygments suggests:
pn ttf-bitstream-vera <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]