* [PATCH] BaseTools/PackageDocumentTools: Correct INI parse condition check
@ 2018-06-26 0:56 Yonghong Zhu
2018-06-26 2:31 ` Zhu, Yonghong
0 siblings, 1 reply; 2+ messages in thread
From: Yonghong Zhu @ 2018-06-26 0:56 UTC (permalink / raw)
To: edk2-devel; +Cc: Chen, Pai-Ching, Chen
From: "Chen, Pai-Ching" <pai-chingx.chen@intel.com>
Change-Id: I147ad470d5840c6fee1086f629991f8a9f9d9056
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen, Pai-Ching <pai-chingx.chen@intel.com>
---
.../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 bf1040d6ba..ea83327052 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.16.2.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] BaseTools/PackageDocumentTools: Correct INI parse condition check
2018-06-26 0:56 [PATCH] BaseTools/PackageDocumentTools: Correct INI parse condition check Yonghong Zhu
@ 2018-06-26 2:31 ` Zhu, Yonghong
0 siblings, 0 replies; 2+ messages in thread
From: Zhu, Yonghong @ 2018-06-26 2:31 UTC (permalink / raw)
To: Zhu, Yonghong, edk2-devel@lists.01.org
Cc: Chen, Pai-chingX, Chen@ml01.01.org, Zhu, Yonghong
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Best Regards,
Zhu Yonghong
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Yonghong Zhu
Sent: Tuesday, June 26, 2018 8:57 AM
To: edk2-devel@lists.01.org
Cc: Chen, Pai-chingX <pai-chingx.chen@intel.com>; Chen@ml01.01.org
Subject: [edk2] [PATCH] BaseTools/PackageDocumentTools: Correct INI parse condition check
From: "Chen, Pai-Ching" <pai-chingx.chen@intel.com>
Change-Id: I147ad470d5840c6fee1086f629991f8a9f9d9056
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen, Pai-Ching <pai-chingx.chen@intel.com>
---
.../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 bf1040d6ba..ea83327052 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.16.2.windows.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-26 2:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-26 0:56 [PATCH] BaseTools/PackageDocumentTools: Correct INI parse condition check Yonghong Zhu
2018-06-26 2:31 ` Zhu, Yonghong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox