'Returns a list of table names in the current database.'

def get_table_list(self, cursor):

    cursor.execute("\n                                                SELECT    name    FROM    sqlite_master\n                                                WHERE    type='table'    AND    NOT    name='sqlite_sequence'\n                                                ORDER    BY    name")
    return [row[0] for row in cursor.fetchall()]
