|
From: <hc...@us...> - 2013-03-27 01:49:17
|
Revision: 2576
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=2576&view=rev
Author: hchen30
Date: 2013-03-27 01:49:07 +0000 (Wed, 27 Mar 2013)
Log Message:
-----------
1. Remove the check for duplicated UserExtension section.
assigned-by: Hess Chen (hes...@in...)
reviewed-by: Fei Chen (fei...@in...)
Modified Paths:
--------------
trunk/BaseTools/Source/Python/UPT/Object/Parser/InfUserExtensionObject.py
Modified: trunk/BaseTools/Source/Python/UPT/Object/Parser/InfUserExtensionObject.py
===================================================================
--- trunk/BaseTools/Source/Python/UPT/Object/Parser/InfUserExtensionObject.py 2013-02-26 03:10:34 UTC (rev 2575)
+++ trunk/BaseTools/Source/Python/UPT/Object/Parser/InfUserExtensionObject.py 2013-03-27 01:49:07 UTC (rev 2576)
@@ -89,19 +89,19 @@
InfUserExtensionItemObj.SetContent(UserExtensionCont)
InfUserExtensionItemObj.SetSupArchList(IdContentItem[2])
- for CheckItem in self.UserExtension:
- if IdContentItem[0] == CheckItem[0] and IdContentItem[1] == CheckItem[1]:
- if IdContentItem[2].upper() == 'COMMON' or CheckItem[2].upper() == 'COMMON':
- #
- # For COMMON ARCH type, do special check.
- #
- Logger.Error('InfParser',
- ToolError.FORMAT_INVALID,
- ST.ERR_INF_PARSER_UE_SECTION_DUPLICATE_ERROR%\
- (IdContentItem[0] + '.' + IdContentItem[1] + '.' + IdContentItem[2]),
- File=GlobalData.gINF_MODULE_NAME,
- Line=LineNo,
- ExtraData=None)
+# for CheckItem in self.UserExtension:
+# if IdContentItem[0] == CheckItem[0] and IdContentItem[1] == CheckItem[1]:
+# if IdContentItem[2].upper() == 'COMMON' or CheckItem[2].upper() == 'COMMON':
+# #
+# # For COMMON ARCH type, do special check.
+# #
+# Logger.Error('InfParser',
+# ToolError.FORMAT_INVALID,
+# ST.ERR_INF_PARSER_UE_SECTION_DUPLICATE_ERROR%\
+# (IdContentItem[0] + '.' + IdContentItem[1] + '.' + IdContentItem[2]),
+# File=GlobalData.gINF_MODULE_NAME,
+# Line=LineNo,
+# ExtraData=None)
if self.UserExtension.has_key(IdContentItem):
#
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|