Patchwork [2,of,9] check-commit: omit whitespace

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Feb. 10, 2016, 1:58 p.m.
Message ID <75c65dd964945dfe1e2b.1455112720@feefifofum>
Download mbox | patch
Permalink /patch/13089/
State Accepted
Delegated to: Martin von Zweigbergk
Headers show

Comments

Katsunori FUJIWARA - Feb. 10, 2016, 1:58 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1455111868 -32400
#      Wed Feb 10 22:44:28 2016 +0900
# Node ID 75c65dd964945dfe1e2b3f1a7a46d4c1586cde4a
# Parent  52027adf96c7cdad8a753dfba4588ee525e0aa46
check-commit: omit whitespace

This is fixing for 'no whitespace around = for named parameters'
check-code rule.

check-code has overlooked this, because a file isn't recognized as one
to be checked (this problem is fixed by subsequent patch).

Patch

diff --git a/contrib/check-commit b/contrib/check-commit
--- a/contrib/check-commit
+++ b/contrib/check-commit
@@ -46,7 +46,7 @@  def nonempty(first, second):
         return first
     return second
 
-def checkcommit(commit, node = None):
+def checkcommit(commit, node=None):
     exitcode = 0
     printed = node is None
     hits = []