From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Thu, 24 Jan 2013 11:13:27 -0800 Subject: [U-Boot] [RFC Patch v5] Consolidate bool type In-Reply-To: <1359054567.24865.13@snotra> References: <1359053230-18920-1-git-send-email-yorksun@freescale.com> <1359054567.24865.13@snotra> Message-ID: <510187D7.20601@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/24/2013 11:09 AM, Scott Wood wrote: > On 01/24/2013 12:47:10 PM, York Sun wrote: >> diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py >> index d831087..28b3240 100644 >> --- a/tools/patman/checkpatch.py >> +++ b/tools/patman/checkpatch.py >> @@ -48,12 +48,12 @@ def FindCheckPatch(): >> print 'Could not find checkpatch.pl' >> return None >> >> -def CheckPatch(fname, verbose=False): >> +def CheckPatch(fname, verbose=false): >> """Run checkpatch.pl on a file. >> >> Returns: >> 4-tuple containing: >> - result: False=failure, True=ok >> + result: false=failure, true=ok >> problems: List of problems, each a dict: >> 'type'; error or warning >> 'msg': text message > > You should probably limit the change to C code. :-) > Nice catch. I forgot Python use True and False. Will fix. York