list_ports: alternate fix for #23
1 file changed