Sync BaseTools Trunk (version r2518) to EDKII main trunk.
Signed-off-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13178 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -96,7 +96,10 @@ class Table(object):
|
||||
#
|
||||
def Drop(self):
|
||||
SqlCommand = """drop table IF EXISTS %s""" % self.Table
|
||||
self.Cur.execute(SqlCommand)
|
||||
try:
|
||||
self.Cur.execute(SqlCommand)
|
||||
except sqlite3.Error, e:
|
||||
print "An error occurred when Drop a table:", e.args[0]
|
||||
|
||||
## Get count
|
||||
#
|
||||
|
Reference in New Issue
Block a user