Import pygments only when needed
authorAlberto Bertogli <albertito@gmail.com>
local dateSun, 05 Oct 2008 15:53:16
dateSun, 05 Oct 2008 15:53:16
hash20081005155316-57897-b379bc805a6995eab0434e6eb90a29076af52c31
Import pygments only when needed


Otherwise, we pay for the pygments import (which is noticeable) on every
darcsweb page view.

This follows the lazy module loading that is already being done for other
costly modules (i.e. 're').
1 file(s) changed:
darcsweb.cgi +9 -7