hgext/highlight/__init__.py
changeset 16683 525fdb738975
parent 10263 25e572394f5c
child 16743 38caf405d010
--- a/hgext/highlight/__init__.py	Fri May 11 18:41:04 2012 +0200
+++ b/hgext/highlight/__init__.py	Sat May 12 15:54:54 2012 +0200
@@ -51,11 +51,13 @@
     pg_style = web.config('web', 'pygments_style', 'colorful')
     fmter = highlight.HtmlFormatter(style = pg_style)
     req.respond(common.HTTP_OK, 'text/css')
-    return ['/* pygments_style = %s */\n\n' % pg_style, fmter.get_style_defs('')]
+    return ['/* pygments_style = %s */\n\n' % pg_style,
+            fmter.get_style_defs('')]
 
 def extsetup():
     # monkeypatch in the new version
-    extensions.wrapfunction(webcommands, '_filerevision', filerevision_highlight)
+    extensions.wrapfunction(webcommands, '_filerevision',
+                            filerevision_highlight)
     extensions.wrapfunction(webcommands, 'annotate', annotate_highlight)
     webcommands.highlightcss = generate_css
     webcommands.__all__.append('highlightcss')