Skip to content

Commit

Permalink
disable InsecurePlatformWarning request warnings in urllib3 (https://…
Browse files Browse the repository at this point in the history
  • Loading branch information
beeva-javiermartincaro committed Nov 10, 2015
1 parent 2fca440 commit 4169b4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions anwbis/anwbis.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from boto.iam import IAMConnection
from boto import ec2
from colorama import init, Fore, Back, Style
from requests.packages.urllib3 import disable_warnings

# __ ___ _ _____
# /\ \ \ / / | (_)/ ____|
Expand Down Expand Up @@ -369,6 +370,7 @@ def login_to_fedaccount(access_key, session_key, session_token, role_session_nam

# END FUNCTIONS SECTION
class Anwbis:
disable_warnings()
def token(self):
global region
global role
Expand Down

0 comments on commit 4169b4d

Please sign in to comment.