X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FCommon%2FDecClassObject.py;h=ed998d3b677d0f5f5118a856c61ef2bbd1a8fcb3;hp=835dbd5935d2e207a7e419390eaaa905f2c9fa1b;hb=0b560b980ce00588e540a480532dd48328a9f003;hpb=5fbb0f9908ded1944aa4bba599ccc4c605987cb7;ds=sidebyside diff --git a/BaseTools/Source/Python/Common/DecClassObject.py b/BaseTools/Source/Python/Common/DecClassObject.py index 835dbd5935..ed998d3b67 100644 --- a/BaseTools/Source/Python/Common/DecClassObject.py +++ b/BaseTools/Source/Python/Common/DecClassObject.py @@ -48,21 +48,10 @@ Section = {TAB_UNKNOWN.upper() : MODEL_UNKNOWN, } -## DecObject -# -# This class defined basic Dec object which is used by inheriting -# -# @param object: Inherited from object class -# -class DecObject(object): - def __init__(self): - object.__init__() - ## Dec # # This class defined the structure used in Dec object # -# @param DecObject: Inherited from DecObject class # @param Filename: Input value for Filename of Dec file, default is None # @param IsMergeAllArches: Input value for IsMergeAllArches # True is to merge all arches @@ -82,7 +71,7 @@ class DecObject(object): # @var Contents: To store value for Contents, it is a structure as DecContents # @var KeyList: To store value for KeyList, a list for all Keys used in Dec # -class Dec(DecObject): +class Dec(object): def __init__(self, Filename=None, IsToDatabase=False, IsToPackage=False, WorkspaceDir=None, Database=None, SupArchList=DataType.ARCH_LIST): self.Identification = Identification() self.Package = PackageClass()