1. Remove the statement of setting each table's ID from init function, this is confli...
authorhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 30 Jan 2008 05:59:11 +0000 (05:59 +0000)
committerhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 30 Jan 2008 05:59:11 +0000 (05:59 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@993 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Table/TableDataModel.py
Source/Python/Table/TableDsc.py
Source/Python/Table/TableFile.py
Source/Python/Table/TableFunction.py
Source/Python/Table/TableIdentifier.py
Source/Python/Table/TablePcd.py

index a2d3ba8..6accc9d 100644 (file)
@@ -30,7 +30,6 @@ class TableDataModel(Table):
     def __init__(self, Cursor):\r
         Table.__init__(self, Cursor)\r
         self.Table = 'DataModel'\r
-        self.ID = self.GetCount()\r
     \r
     ## Create table\r
     #\r
index 09320af..5cb6ab7 100644 (file)
@@ -30,8 +30,6 @@ class TableDsc(Table):
     def __init__(self, Cursor):\r
         Table.__init__(self, Cursor)\r
         self.Table = 'Dsc'\r
-        self.ID = self.GetCount()\r
-\r
     \r
     ## Create table\r
     #\r
index 70bd994..4287a64 100644 (file)
@@ -28,7 +28,6 @@ class TableFile(Table):
     def __init__(self, Cursor):\r
         Table.__init__(self, Cursor)\r
         self.Table = 'File'\r
-        self.ID = self.GetCount()\r
     \r
     ## Create table\r
     #\r
index cc2f73d..844aa65 100644 (file)
@@ -28,7 +28,6 @@ class TableFunction(Table):
     def __init__(self, Cursor):\r
         Table.__init__(self, Cursor)\r
         self.Table = 'Function'\r
-        self.ID = self.GetCount()\r
     \r
     ## Create table\r
     #\r
index 0b9b5a8..debb7c2 100644 (file)
@@ -29,7 +29,6 @@ class TableIdentifier(Table):
     def __init__(self, Cursor):\r
         Table.__init__(self, Cursor)\r
         self.Table = 'Identifier'\r
-        self.ID = self.GetCount()\r
     \r
     ## Create table\r
     #\r
index e5c216f..ce34494 100644 (file)
@@ -29,7 +29,6 @@ class TablePcd(Table):
     def __init__(self, Cursor):\r
         Table.__init__(self, Cursor)\r
         self.Table = 'Pcd'\r
-        self.ID = self.GetCount()\r
     \r
     ## Create table\r
     #\r