## @file\r
# This file is used to parse a PCD file of .PKG file\r
#\r
-# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials are licensed and made available \r
# under the terms and conditions of the BSD License which accompanies this \r
Executable = XmlAttribute(XmlNode(SubItem, '%s/Filename' % Key), 'Executable')\r
if Executable.upper() == "TRUE":\r
Executable = True\r
- else:\r
+ elif Executable.upper() == "FALSE":\r
Executable = False\r
+ else:\r
+ Executable = ''\r
self.Files.append([Filename, Executable])\r
\r
MiscFile = MiscFileObject()\r
OsType = XmlAttribute(XmlNode(SubItem, '%s/Filename' % Key), 'OS')\r
if Executable.upper() == "TRUE":\r
Executable = True\r
- else:\r
+ elif Executable.upper() == "FALSE":\r
Executable = False\r
+ else:\r
+ Executable = ''\r
self.Files.append([Filename, Executable, OsType])\r
\r
MiscFile = MiscFileObject()\r