def _stopExternalAccess(self): if not self.getExternalAccess(): return host = self.getExternalAccessHost() assert host port = self.getExternalAccessPort() assert port vtun.stop(host, port)
def _stopExternalAccess(self): if not self.getExternalAccess(): return if not self.getExternalAccessPort(): return vtun.stop(self.getExternalAccessHost(), self.getExternalAccessPort())