diff options
-rw-r--r-- | scripts/common/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/common/__init__.py b/scripts/common/__init__.py index e3ea442..c4fe9e7 100644 --- a/scripts/common/__init__.py +++ b/scripts/common/__init__.py @@ -4,8 +4,13 @@ import logging import os import sys +import warnings from datetime import datetime +# Because of https://github.com/urllib3/urllib3/issues/3020 +# Ignore "not using openssl"-error from urllib3. From https://gist.github.com/fire015/f9482919434e57af8bbd0dbc24ecaa9e +warnings.filterwarnings("ignore", module="urllib3") + # Get env var def env(var_name, default=None): |