X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FCommon%2FDscClassObject.py;h=da3101ae0fe9b70d44af6c1904103d3ae6ad2f30;hp=b98dbf57229b9480978a20ca6a0ad92eb8af6440;hb=0b560b980ce00588e540a480532dd48328a9f003;hpb=5fbb0f9908ded1944aa4bba599ccc4c605987cb7 diff --git a/BaseTools/Source/Python/Common/DscClassObject.py b/BaseTools/Source/Python/Common/DscClassObject.py index b98dbf5722..da3101ae0f 100644 --- a/BaseTools/Source/Python/Common/DscClassObject.py +++ b/BaseTools/Source/Python/Common/DscClassObject.py @@ -54,21 +54,10 @@ Section = {TAB_UNKNOWN.upper() : MODEL_UNKNOWN, TAB_USER_EXTENSIONS.upper() : MODEL_META_DATA_USER_EXTENSION } -## DscObject -# -# This class defined basic Dsc object which is used by inheriting -# -# @param object: Inherited from object class -# -class DscObject(object): - def __init__(self): - object.__init__() - ## Dsc # # This class defined the structure used in Dsc object # -# @param DscObject: Inherited from InfObject class # @param Ffilename: Input value for Ffilename of Inf file, default is None # @param IsMergeAllArches: Input value for IsMergeAllArches # True is to merge all arches @@ -89,7 +78,7 @@ class DscObject(object): # @var WorkspaceDir: To store value for WorkspaceDir # @var KeyList: To store value for KeyList, a list for all Keys used in Dec # -class Dsc(DscObject): +class Dsc(object): _NullClassIndex = 0 def __init__(self, Filename=None, IsToDatabase=False, IsToPlatform=False, WorkspaceDir=None, Database=None):