RainbowDashStyle not compatible with Python 2.6

Issue #1386 new
Anonymous created an issue

Steps to reproduce:

$ python2.6
>>> from pygments.styles import rainbow_dash
Traceback (most recent call last):
  File "<input>", line 1, in <module>
    from pygments.styles import rainbow_dash
  File "/home/bitstamp.net/damjan.kuznar/workspace/venvs/bitstamp26/lib/python2.6/site-packages/pygments/styles/rainbow_dash.py", line 36, in <module>
    class RainbowDashStyle(Style):
  File "/home/bitstamp.net/damjan.kuznar/workspace/venvs/bitstamp26/lib/python2.6/site-packages/pygments/styles/rainbow_dash.py", line 44, in RainbowDashStyle
    Comment: 'italic {}'.format(BLUE_LIGHT),
ValueError: zero length field name in format

Comments (0)

  1. Log in to comment