Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python-bareos: use socket.create_connection()
- remove hard-coded AF_INET in socket creation. - replace socket.connect() by a higher-level function socket.create_connection() allowing AF_INET6 familly connection. - set a default of 30 to self.timeout, simplify code to remove `if self.timeout ...` Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- Loading branch information