Commit 2874091d authored by Marco Mariani's avatar Marco Mariani Committed by Rafael Monnerat

disabled SSL warning - reverts to previous slapos behavior

parent 42f19c96
...@@ -41,12 +41,14 @@ os.environ.setdefault('EDITOR', 'vi') ...@@ -41,12 +41,14 @@ os.environ.setdefault('EDITOR', 'vi')
from cliff.app import App from cliff.app import App
from cliff.commandmanager import CommandManager, LOG from cliff.commandmanager import CommandManager, LOG
from requests.packages import urllib3
import slapos.version import slapos.version
# silence messages like 'Starting connection' that are logged with INFO # silence messages like 'Starting connection' that are logged with INFO
urllib3_logger = logging.getLogger('requests.packages.urllib3') urllib3_logger = logging.getLogger('requests.packages.urllib3')
urllib3_logger.setLevel(logging.WARNING) urllib3_logger.setLevel(logging.WARNING)
urllib3.disable_warnings()
class SlapOSCommandManager(CommandManager): class SlapOSCommandManager(CommandManager):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment