removed recursion

This commit is contained in:
Gregor Aisch 2013-04-01 22:47:58 +02:00
parent 59b49b597d
commit a7c07fe944

View File

@ -33,7 +33,7 @@ class Database(object):
@property @property
def tables(self): def tables(self):
""" Get a listing of all tables that exist in the database. """ """ Get a listing of all tables that exist in the database. """
return set(self.metadata.tables.keys() + self.tables.keys()) return set(self.metadata.tables.keys() + self._tables.keys())
def create_table(self, table_name): def create_table(self, table_name):
""" Creates a new table. The new table will automatically have """ Creates a new table. The new table will automatically have