(self)
Show attached tables.
Show attached tables.
Show attached tables .
def cmd_tables(self):
        """Show attached tables."""
        q = """select table_name, merge_state, table_attrs
        from londiste.get_table_list(%s) where local
        order by table_name"""
        db = self.get_database('db')
        def show_attr(a):
            if a:
                return skytools.db_urldecode(a)
            return ''
        self.display_table(db, "Tables on node", q, [self.set_name],
                           fieldfmt = {'table_attrs': show_attr})
def cmd_tables ( self ) : q = """select table_name, merge_state, table_attrs
        from londiste.get_table_list(%s) where local
        order by table_name""" db = self . get_database ( 'db' ) def show_attr ( a ) : if a : return skytools . db_urldecode ( a ) return '' self . display_table ( db , "Tables on node" , q , [ self . set_name ] , fieldfmt = { 'table_attrs' : show_attr } )