[patch] Pygments version information not displaying
|Reported by:||Owned by:||Jonas Borgström|
This was noticed on IRC with cmlenz and mitsuhiko the other week, but seems it was forgotten again. It is likely a leftover from the renaming of the module to
82 82 </html>""" 83 83 84 84 def __init__(self): 85 import pygments 86 85 version = get_pkginfo(pygments).get('version') 87 86 # if installed from source, fallback to the hardcoded version info 88 87 if not version and hasattr(pygments, '__version__'):
pygments is already imported on module level via the 'kludge' - this second import won't do any good.