X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=inline;f=BaseTools%2FSource%2FPython%2FUPT%2FLibrary%2FUniClassObject.py;h=332ae273c78eb0eb3ef7cd04f206ac68f69361c3;hb=2549514f01b9fcaf333b4aa998cb29df2f72195c;hp=563b82c6889c8b9b2d1b5d1b3ced43eda02c487c;hpb=a94b1b866afdb509938c60be8b4b3f8a9632e4b1;p=mirror_edk2.git diff --git a/BaseTools/Source/Python/UPT/Library/UniClassObject.py b/BaseTools/Source/Python/UPT/Library/UniClassObject.py index 563b82c688..332ae273c7 100644 --- a/BaseTools/Source/Python/UPT/Library/UniClassObject.py +++ b/BaseTools/Source/Python/UPT/Library/UniClassObject.py @@ -1,7 +1,7 @@ ## @file # Collect all defined strings in multiple uni files. # -# Copyright (c) 2014, Intel Corporation. All rights reserved.
+# Copyright (c) 2014 - 2015, 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 @@ -529,7 +529,8 @@ class UniFileClassObject(object): Line = Line.replace(u'\t', u' ') Line = Line.replace(u'\u0006', u'\\') - IncList = gINCLUDE_PATTERN.findall(Line) + # IncList = gINCLUDE_PATTERN.findall(Line) + IncList = [] if len(IncList) == 1: for Dir in [File.Dir] + self.IncludePathList: IncFile = PathClass(str(IncList[0]), Dir)