Package: python-pygments
Version: 0.5.1-1
Severity: important
Tags: patch
The command line interface for the pygments module `pygmentize` contains a
leftover from previous version that prevents it from working at all::
[EMAIL PROTECTED]:~/.python/packages > pygmentize pylit.py
Traceback (most recent call last):
File "/usr/bin/pygmentize", line 4, in ?
sys.exit(pygments.cmdline_main(sys.argv))
AttributeError: 'module' object has no attribute 'cmdline_main'
(trying to get help or the version results in an AttributeError as well).
The patch is already in the upstream version
http://trac.pocoo.org/browser/pygments/trunk/pygmentize
--- /usr/bin/pygmentize 2006-10-31 14:28:33.000000000 +0100
+++ /home/milde/.bin/pygmentize 2007-03-12 14:08:52.000000000 +0100
@@ -1,4 +1,4 @@
#!/usr/bin/python
-import sys, pygments
-sys.exit(pygments.cmdline_main(sys.argv))
\ Kein Zeilenumbruch am Dateiende.
+import sys, pygments.cmdline
+sys.exit(pygments.cmdline.main(sys.argv))
sincerely
Guenter
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages python-pygments depends on:
ii python 2.4.4-2 An interactive high-level object-o
ii python-central 0.5.12 register and build utility for Pyt
python-pygments recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]