Markus Zolliker 2020928289 improve error message on client when host/port is bad
for host name without port, None was used for the port
leading to a confusing error message

- do not call parse_host_port with None as defaultport argument
- improve error message when connection fails

+ fix an error in last line of parse_ipv6_host_and_port
+ fix some issues breaking PEP 8 rules

Change-Id: I437360be96449c164f0080e3c60f1685825d4780
Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/31911
Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de>
Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
2023-08-07 16:15:30 +02:00
..
2023-05-02 15:25:11 +02:00
2023-05-02 15:25:11 +02:00
2023-05-02 15:25:11 +02:00
2023-05-02 15:25:11 +02:00
2023-05-02 15:25:11 +02:00
2023-05-02 15:25:11 +02:00
2023-05-02 15:25:11 +02:00