(table = None, ipv6=False)
Disable autocommit on a table
Disable autocommit on a table
Disable autocommit on a table
def batch_begin(table = None, ipv6=False):
    """ Disable autocommit on a table """
    _BATCH_MODE = True
    if table:
        tables = (table, )
    else:
        tables = get_tables(ipv6)
    for table in tables:
        iptc_table = _iptc_gettable(table, ipv6)
        iptc_table.autocommit = False
def batch_begin ( table = None , ipv6 = False ) : _BATCH_MODE = True if table : tables = ( table , ) else : tables = get_tables ( ipv6 ) for table in tables : iptc_table = _iptc_gettable ( table , ipv6 ) iptc_table . autocommit = False