Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pybotvac / urllib3-2.0-compat.patch
blob8b6ef4e91cc314e72942add151270be1672820f8
1 diff --git a/pybotvac/robot.py b/pybotvac/robot.py
2 index f87546f..e9a61de 100644
3 --- a/pybotvac/robot.py
4 +++ b/pybotvac/robot.py
5 @@ -6,7 +6,6 @@ from datetime import datetime, timezone
6 from email.utils import format_datetime
8 import requests
9 -import urllib3
10 from voluptuous import (
11 ALLOW_EXTRA,
12 All,
13 @@ -21,8 +20,6 @@ from voluptuous import (
14 from .exceptions import NeatoRobotException, NeatoUnsupportedDevice
15 from .neato import Neato # For default Vendor argument
17 -# Disable warning due to SubjectAltNameWarning in certificate
18 -urllib3.disable_warnings(urllib3.exceptions.SubjectAltNameWarning)
20 _LOGGER = logging.getLogger(__name__)