## @file\r
# This file is used to create/update/query/erase table for ECC reports\r
#\r
-# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>\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
## TableReport\r
#\r
# This class defined a table used for data model\r
-# \r
+#\r
# @param object: Inherited from object class\r
#\r
#\r
def __init__(self, Cursor):\r
Table.__init__(self, Cursor)\r
self.Table = 'Report'\r
- \r
+\r
## Create table\r
#\r
# Create table report\r
% (self.Table, self.ID, ModuleID, ModuleName, ModuleGuid, SourceFileID, SourceFileFullPath, \\r
ItemName, ItemType, ItemMode, GuidName, GuidMacro, GuidValue, BelongsToFunction, Enabled)\r
Table.Insert(self, SqlCommand)\r
- \r
+\r
def GetMaxID(self):\r
SqlCommand = """select max(ID) from %s""" % self.Table\r
self.Cur.execute(SqlCommand)\r
for Item in self.Cur:\r
- return Item[0]
\ No newline at end of file
+ return Item[0]\r