Fixed F821 (undefined-name): Undefined name `e`
This commit is contained in:
parent
618c466b84
commit
775a4223de
|
@ -167,7 +167,7 @@ def migration_12(env):
|
||||||
dropcmd = "DROP TABLE %s" % table
|
dropcmd = "DROP TABLE %s" % table
|
||||||
c.execute(dropcmd)
|
c.execute(dropcmd)
|
||||||
except:
|
except:
|
||||||
print("Failed to drop table", table, e)
|
print("Failed to drop table", table)
|
||||||
# Save.
|
# Save.
|
||||||
conn.commit()
|
conn.commit()
|
||||||
conn.close()
|
conn.close()
|
||||||
|
|
Loading…
Reference in New Issue