Browse Source

removed stale, excess parentheses

master
Tamás Gérczei 2 months ago
parent
commit
8fccf60d75
Signed by: tgerczei GPG Key ID: 5B59A7760597B1A1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hap.py

+ 1
- 1
hap.py View File

@@ -25,7 +25,7 @@ ports_per_svc = [ svc.spec.ports for svc in all_services.items if svc.spec.type
used_ports = [svc_port.port for svc_ports in ports_per_svc for svc_port in svc_ports]

# determine available ports
full_port_range = (range(49152, 65536)) # https://tools.ietf.org/html/rfc6335#section-8.1.2
full_port_range = range(49152, 65536) # https://tools.ietf.org/html/rfc6335#section-8.1.2
available_ports = list(set(full_port_range) - set(used_ports))

# pick available ports


Loading…
Cancel
Save