(table_attrs)
return p.needs_table()
Decide if table is copyable based on attrs.
Decide if table is copyable based on attrs.
Decide if table is copyable based on attrs .
def handler_allows_copy(table_attrs):
    """Decide if table is copyable based on attrs."""
    if not table_attrs:
        return True
    attrs = skytools.db_urldecode(table_attrs)
    hstr = attrs.get('handler', '')
    p = londiste.handler.build_handler('unused.string', hstr, None)
    return p.needs_table()
def handler_allows_copy ( table_attrs ) : if not table_attrs : return True attrs = skytools . db_urldecode ( table_attrs ) hstr = attrs . get ( 'handler' , '' ) p = londiste . handler . build_handler ( 'unused.string' , hstr , None ) return p . needs_table ( )