(self)
Commit any pending operation and refresh the status of iptables.
Commit any pending operation and refresh the status of iptables.
Commit any pending operation and refresh the status of iptables .
def refresh(self):
        """Commit any pending operation and refresh the status of iptables."""
        if self._handle:
            self._free()

        handle = self._iptc.iptc_init(self.name.encode())
        if not handle:
            raise IPTCError("can't initialize %s: %s" % (self.name,
                                                         self.strerror()))
        self._handle = handle
def refresh ( self ) : if self . _handle : self . _free ( ) handle = self . _iptc . iptc_init ( self . name . encode ( ) ) if not handle : raise IPTCError ( "can't initialize %s: %s" % ( self . name , self . strerror ( ) ) ) self . _handle = handle