def remove_port(zone, port, permanent=True):
 cmd = '--zone={0} --remove-port={1}'.format(zone, port)
 if permanent:
  cmd += ' --permanent'
 return __firewall_cmd(cmd)

def remove_port ( zone , port , permanent = True ) : cmd = '--zone={0} --remove-port={1}' . format ( zone , port ) if permanent : cmd += ' --permanent' return __firewall_cmd ( cmd )
remove a specific port from a zone .