X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FUPT%2FObject%2FParser%2FInfDepexObject.py;h=b8362dfbb5b10428beec2dd0ed6109e5f8bae012;hp=55d6bbc69e61ec86855ac7461f47b37d62b9d9cd;hb=f7496d717357b9af78414d19679b073403812340;hpb=39456d00f36e04b7e7efb208f350f4e83b6c3531 diff --git a/BaseTools/Source/Python/UPT/Object/Parser/InfDepexObject.py b/BaseTools/Source/Python/UPT/Object/Parser/InfDepexObject.py index 55d6bbc69e..b8362dfbb5 100644 --- a/BaseTools/Source/Python/UPT/Object/Parser/InfDepexObject.py +++ b/BaseTools/Source/Python/UPT/Object/Parser/InfDepexObject.py @@ -1,12 +1,12 @@ ## @file -# This file is used to define class objects of INF file [Depex] section. -# It will consumed by InfParser. +# This file is used to define class objects of INF file [Depex] section. +# It will consumed by InfParser. # -# Copyright (c) 2011, Intel Corporation. All rights reserved.
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
# -# This program and the accompanying materials are licensed and made available -# under the terms and conditions of the BSD License which accompanies this -# distribution. The full text of the license may be found at +# This program and the accompanying materials are licensed and made available +# under the terms and conditions of the BSD License which accompanies this +# distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd-license.php # # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, @@ -99,7 +99,7 @@ class InfDepexObject(InfSectionCommonDef): # # Validate Arch - # + # if IsValidArch(Arch.strip().upper()): InfDepexItemIns.SetSupArch(Arch) else: