Skip to content

Commit

Permalink
Move ignore warnings function to shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanprjcts committed Sep 9, 2017
1 parent a60710c commit 3475463
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions docs/about/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ To upgrade Sdklib to the latest version, use pip:
Sdklib 1.9.x series
===================

Sdklib 1.9.4
------------

- Move ignore warnings function to shortcuts.

Sdklib 1.9.3
------------

Expand Down
5 changes: 0 additions & 5 deletions sdklib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
import urllib3


def disable_warnings():
urllib3.disable_warnings()
2 changes: 1 addition & 1 deletion sdklib/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release = '1.9.3'
release = '1.9.4'
5 changes: 5 additions & 0 deletions sdklib/shortcuts.py
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import urllib3
from sdklib.compat import cache


def disable_warnings():
urllib3.disable_warnings()
2 changes: 1 addition & 1 deletion tests/test_sdklib_https.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
from sdklib import disable_warnings
from sdklib.shortcuts import disable_warnings

from tests.sample_sdk_https import SampleHttpsHttpSdk

Expand Down

0 comments on commit 3475463

Please sign in to comment.