]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Scripts/Ds5/build_report.py
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / ArmPlatformPkg / Scripts / Ds5 / build_report.py
index e59230090fb2d771c713bc6455cc96b135b9fa78..effaf1db48f7e2cc9e3a96119048fac5cc68f5e9 100644 (file)
@@ -1,26 +1,26 @@
 #\r
 #  Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r
-#  \r
-#  This program and the accompanying materials                          \r
-#  are licensed and made available under the terms and conditions of the BSD License         \r
-#  which accompanies this distribution.  The full text of the license may be found at        \r
-#  http://opensource.org/licenses/bsd-license.php                                            \r
 #\r
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+#  This program and the accompanying materials\r
+#  are licensed and made available under the terms and conditions of the BSD License\r
+#  which accompanies this distribution.  The full text of the license may be found at\r
+#  http://opensource.org/licenses/bsd-license.php\r
+#\r
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 \r
 import re\r
 \r
 class BuildReport:\r
     PCDs = {}\r
-    \r
+\r
     def parse_platform_summary(self, file):\r
         pass\r
-    \r
+\r
     def parse_pcd_report(self, report_file):\r
         pcd_reg = re.compile(" (\*P|\*F|\*M|  ) (\w+)(\ +)\: (.*) \((\w+)\) = (.*)\n")\r
-        \r
+\r
         for line in report_file.xreadlines():\r
             stripped_line = line.strip()\r
             if re.match("\<=+\>", stripped_line):\r
@@ -32,19 +32,19 @@ class BuildReport:
                 m = pcd_reg.match(line)\r
                 if m:\r
                     self.PCDs[guid][m.group(2)] = (m.group(6).strip(),m.group(5))\r
-                \r
+\r
     def parse_firmware_device(self, file):\r
         pass\r
-        \r
+\r
     def parse_module_summary(self, file):\r
         #print "Module Summary"\r
         pass\r
-    \r
+\r
     CONST_SECTION_HEADERS = [('Platform Summary', parse_platform_summary),\r
                              ('Platform Configuration Database Report',parse_pcd_report),\r
                              ('Firmware Device (FD)',parse_firmware_device),\r
                              ('Module Summary',parse_module_summary)]\r
-    \r
+\r
     def __init__(self, filename = 'report.log'):\r
         report_file = open(filename, 'r')\r
         for line in report_file.xreadlines():\r