]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Object/Parser/InfHeaderObject.py
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Object / Parser / InfHeaderObject.py
index dce75063dfb5d3866236bfe0fa588df0e8db7a1e..d2a8a4adbf8c20f03d4e7809a8e0ad2223958b21 100644 (file)
@@ -1,12 +1,12 @@
 ## @file\r
-# This file is used to define class objects of INF file header. \r
-# It will consumed by InfParser. \r
+# This file is used to define class objects of INF file header.\r
+# It will consumed by InfParser.\r
 #\r
-# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2018, 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
-# distribution. The full text of the license may be found at \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
+# 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
@@ -17,16 +17,16 @@ InfHeaderObject
 '''\r
 \r
 ## INF file header object\r
-# \r
+#\r
 # A sample file header\r
 #\r
 # ## @file xxx.inf FileName\r
 # # Abstract\r
-# # \r
+# #\r
 # # Description\r
 # #\r
 # # Copyright\r
-# # \r
+# #\r
 # # License\r
 # #\r
 #\r
@@ -41,7 +41,7 @@ class InfHeaderObject():
     ## SetFileName\r
     #\r
     # @param FileName: File Name\r
-    #    \r
+    #\r
     def SetFileName(self, FileName):\r
         if not (FileName == '' or FileName is None):\r
             self.FileName = FileName\r
@@ -50,14 +50,14 @@ class InfHeaderObject():
             return False\r
 \r
     ## GetFileName\r
-    #        \r
+    #\r
     def GetFileName(self):\r
         return self.FileName\r
 \r
     ## SetAbstract\r
-    #     \r
+    #\r
     # @param Abstract: Abstract\r
-    #    \r
+    #\r
     def SetAbstract(self, Abstract):\r
         if not (Abstract == '' or Abstract is None):\r
             self.Abstract = Abstract\r
@@ -66,14 +66,14 @@ class InfHeaderObject():
             return False\r
 \r
     ## GetAbstract\r
-    #           \r
+    #\r
     def GetAbstract(self):\r
-        return self.Abstract \r
+        return self.Abstract\r
 \r
     ## SetDescription\r
-    #     \r
-    # @param Description: Description content \r
-    #  \r
+    #\r
+    # @param Description: Description content\r
+    #\r
     def SetDescription(self, Description):\r
         if not (Description == '' or Description is None):\r
             self.Description = Description\r
@@ -82,14 +82,14 @@ class InfHeaderObject():
             return False\r
 \r
     ## GetAbstract\r
-    #           \r
+    #\r
     def GetDescription(self):\r
-        return self.Description \r
+        return self.Description\r
 \r
     ## SetCopyright\r
-    #     \r
-    # @param Copyright: Copyright content \r
-    #      \r
+    #\r
+    # @param Copyright: Copyright content\r
+    #\r
     def SetCopyright(self, Copyright):\r
         if not (Copyright == '' or Copyright is None):\r
             self.Copyright = Copyright\r
@@ -98,14 +98,14 @@ class InfHeaderObject():
             return False\r
 \r
     ## GetCopyright\r
-    #           \r
+    #\r
     def GetCopyright(self):\r
-        return self.Copyright     \r
+        return self.Copyright\r
 \r
     ## SetCopyright\r
-    #     \r
-    # @param License: License content \r
-    #   \r
+    #\r
+    # @param License: License content\r
+    #\r
     def SetLicense(self, License):\r
         if not (License == '' or License is None):\r
             self.License = License\r
@@ -114,6 +114,6 @@ class InfHeaderObject():
             return False\r
 \r
     ## GetLicense\r
-    #          \r
+    #\r
     def GetLicense(self):\r
-        return self.License
\ No newline at end of file
+        return self.License\r