depot/third_party/nixpkgs/pkgs/development/python-modules/pybotvac/urllib3-2.0-compat.patch
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

21 lines
675 B
Diff

diff --git a/pybotvac/robot.py b/pybotvac/robot.py
index f87546f..e9a61de 100644
--- a/pybotvac/robot.py
+++ b/pybotvac/robot.py
@@ -6,7 +6,6 @@ from datetime import datetime, timezone
from email.utils import format_datetime
import requests
-import urllib3
from voluptuous import (
ALLOW_EXTRA,
All,
@@ -21,8 +20,6 @@ from voluptuous import (
from .exceptions import NeatoRobotException, NeatoUnsupportedDevice
from .neato import Neato # For default Vendor argument
-# Disable warning due to SubjectAltNameWarning in certificate
-urllib3.disable_warnings(urllib3.exceptions.SubjectAltNameWarning)
_LOGGER = logging.getLogger(__name__)