From nobody Mon Dec 23 13:36:06 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 15161619701401017.6163837004839; Tue, 16 Jan 2018 20:06:10 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 263822232BDFF; Tue, 16 Jan 2018 20:00:48 -0800 (PST) Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 643B02232BDF7 for ; Tue, 16 Jan 2018 20:00:46 -0800 (PST) Received: from localhost.localdomain (unknown.telstraglobal.net [134.159.103.118]) by smtp.nue.novell.com with ESMTP (NOT encrypted); Wed, 17 Jan 2018 05:06:03 +0100 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=195.135.221.5; helo=smtp.nue.novell.com; envelope-from=glin@suse.com; receiver=edk2-devel@lists.01.org From: Gary Lin To: edk2-devel@lists.01.org Date: Wed, 17 Jan 2018 12:05:43 +0800 Message-Id: <20180117040543.16928-1-glin@suse.com> X-Mailer: git-send-email 2.15.1 Subject: [edk2] [PATCH] BaseTools: Fix indentation X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Liming Gao MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Mixing usage of spaces and tabs may confuse the python compiler/interpreter. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Gary Lin Cc: Yonghong Zhu Cc: Liming Gao Reviewed-by: Yonghong Zhu =20 --- BaseTools/Source/Python/Ecc/CParser.py | 11 ++--------- BaseTools/Source/Python/Eot/CParser.py | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/BaseTools/Source/Python/Ecc/CParser.py b/BaseTools/Source/Pyth= on/Ecc/CParser.py index baa521f43c..41f2811430 100644 --- a/BaseTools/Source/Python/Ecc/CParser.py +++ b/BaseTools/Source/Python/Ecc/CParser.py @@ -98,16 +98,9 @@ class CParser(Parser): Parser.__init__(self, input) self.ruleMemo =3D {} =20 - self.function_definition_stack =3D [] - self.postfix_expression_stack =3D [] + self.function_definition_stack =3D [] + self.postfix_expression_stack =3D [] =20 - - - =20 - - - =20 - =20 def printTokenInfo(self, line, offset, tokenText): print str(line)+ ',' + str(offset) + ':' + str(tokenText) =20 diff --git a/BaseTools/Source/Python/Eot/CParser.py b/BaseTools/Source/Pyth= on/Eot/CParser.py index baa521f43c..41f2811430 100644 --- a/BaseTools/Source/Python/Eot/CParser.py +++ b/BaseTools/Source/Python/Eot/CParser.py @@ -98,16 +98,9 @@ class CParser(Parser): Parser.__init__(self, input) self.ruleMemo =3D {} =20 - self.function_definition_stack =3D [] - self.postfix_expression_stack =3D [] + self.function_definition_stack =3D [] + self.postfix_expression_stack =3D [] =20 - - - =20 - - - =20 - =20 def printTokenInfo(self, line, offset, tokenText): print str(line)+ ',' + str(offset) + ':' + str(tokenText) =20 --=20 2.15.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel