Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #92 from cloudify-cosmo/CFY-3356-suppress-warning-…
Browse files Browse the repository at this point in the history
…3.3.1

CFY-3356 suppress insecure platform warnings (3.3.1)
  • Loading branch information
dankilman committed Dec 16, 2015
2 parents bc770c8 + 6423a16 commit a68f55d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cloudify_rest_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
# * limitations under the License.

import json
import requests
import logging

import requests
from requests.packages import urllib3

from cloudify_rest_client import exceptions
from cloudify_rest_client.blueprints import BlueprintsClient
from cloudify_rest_client.snapshots import SnapshotsClient
Expand All @@ -39,6 +41,8 @@
DEFAULT_PROTOCOL = 'http'
DEFAULT_API_VERSION = 'v2'

urllib3.disable_warnings(urllib3.exceptions.InsecurePlatformWarning)


class HTTPClient(object):

Expand Down

0 comments on commit a68f55d

Please sign in to comment.