diff mercurial/templatefilters.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 f08e542ce918
children e828975722c8
line wrap: on
line diff
--- a/mercurial/templatefilters.py	Thu Oct 03 14:50:47 2013 +0200
+++ b/mercurial/templatefilters.py	Thu Oct 03 14:50:47 2013 +0200
@@ -101,7 +101,7 @@
 para_re = None
 space_re = None
 
-def fill(text, width, initindent = '', hangindent = ''):
+def fill(text, width, initindent='', hangindent=''):
     '''fill many paragraphs with optional indentation.'''
     global para_re, space_re
     if para_re is None: