D | seobject.py | 1117 def __modify(self, port, proto, serange, setype): argument 1118 if serange == "" and setype == "": 1124 if setype and setype not in self.valid_types: 1125 raise ValueError(_("Type %s is invalid, must be a port type") % setype) 1143 if setype != "": 1144 semanage_context_set_type(self.sh, con, setype) 1153 def modify(self, port, proto, serange, setype): argument 1155 self.__modify(port, proto, serange, setype) 1388 def __modify(self, addr, mask, proto, serange, setype): argument 1391 if serange == "" and setype == "": [all …]
|