Removing duplicate get_table in fetch_metadata

This commit is contained in:
Jiayu Liu 2016-04-03 22:40:58 +08:00 committed by Maxime Beauchemin
parent aec3c0b358
commit c3789d53b4

View File

@ -609,7 +609,6 @@ class SqlaTable(Model, Queryable, AuditMixinNullable):
def fetch_metadata(self):
"""Fetches the metadata for the table and merges it in"""
table = self.database.get_table(self.table_name)
try:
table = self.database.get_table(self.table_name)
except Exception as e: