seld --> self, pep8
This commit is contained in:
parent
866df01a13
commit
59b49b597d
@ -33,7 +33,7 @@ class Database(object):
|
||||
@property
|
||||
def tables(self):
|
||||
""" Get a listing of all tables that exist in the database. """
|
||||
return set(self.metadata.tables.keys() + seld.tables.keys())
|
||||
return set(self.metadata.tables.keys() + self.tables.keys())
|
||||
|
||||
def create_table(self, table_name):
|
||||
""" Creates a new table. The new table will automatically have
|
||||
@ -94,4 +94,3 @@ class Database(object):
|
||||
|
||||
def __repr__(self):
|
||||
return '<Database(%s)>' % self.url
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user