From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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 E33E8209605A7 for ; Mon, 25 Jun 2018 03:31:57 -0700 (PDT) Received: from localhost.localdomain (unknown.telstraglobal.net [134.159.103.118]) by smtp.nue.novell.com with ESMTP (NOT encrypted); Mon, 25 Jun 2018 12:31:54 +0200 From: Gary Lin To: edk2-devel@lists.01.org Cc: Jaben Carsey , Yonghong Zhu , Liming Gao Date: Mon, 25 Jun 2018 18:31:24 +0800 Message-Id: <20180625103136.12531-2-glin@suse.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180625103136.12531-1-glin@suse.com> References: <20180625103136.12531-1-glin@suse.com> Subject: [PATCH v4 01/13] BaseTools: Fix a typo in ini.py X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 10:31:58 -0000 "if mis not None:" => "if m is not None:" Contributed-under: TianoCore Contribution Agreement 1.1 Cc: Jaben Carsey Cc: Yonghong Zhu Cc: Liming Gao Reviewed-by: Jaben Carsey Signed-off-by: Gary Lin --- BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/basemodel/ini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/basemodel/ini.py b/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/basemodel/ini.py index bf1040d6bac4..ea83327052f2 100644 --- a/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/basemodel/ini.py +++ b/BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/basemodel/ini.py @@ -122,7 +122,7 @@ class BaseINIFile(object): continue m = section_re.match(templine) - if mis not None: # found a section + if m is not None: # found a section inGlobal = False # Finish the latest section first if len(sObjs) != 0: -- 2.17.1