diff hgext/highlight/__init__.py @ 19872:681f7b9213a4

check-code: check for spaces around = for named parameters
author Mads Kiilerich <madski@unity3d.com>
date Thu, 03 Oct 2013 14:50:47 +0200
parents 38caf405d010
children 80c5b2666a96
line wrap: on
line diff
--- a/hgext/highlight/__init__.py	Thu Oct 03 14:50:47 2013 +0200
+++ b/hgext/highlight/__init__.py	Thu Oct 03 14:50:47 2013 +0200
@@ -50,7 +50,7 @@
 
 def generate_css(web, req, tmpl):
     pg_style = web.config('web', 'pygments_style', 'colorful')
-    fmter = highlight.HtmlFormatter(style = pg_style)
+    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('')]