(self, curs)
return new_map
Get dict of table states.
Get dict of table states.
Get dict of table states .
def get_state_map(self, curs):
        """Get dict of table states."""

        q = "select * from londiste.get_table_list(%s)"
        curs.execute(q, [self.set_name])

        new_map = {}
        for row in curs.fetchall():
            if not row['local']:
                continue
            t = TableState(row['table_name'], self.log)
            t.loaded_state(row)
            new_map[t.name] = t
        return new_map
def get_state_map ( self , curs ) : q = "select * from londiste.get_table_list(%s)" curs . execute ( q , [ self . set_name ] ) new_map = { } for row in curs . fetchall ( ) : if not row [ 'local' ] : continue t = TableState ( row [ 'table_name' ] , self . log ) t . loaded_state ( row ) new_map [ t . name ] = t return new_map