Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pylint: fix missing module
requests.packages contains but a weird backward compatibility fix
for its presumed urllib3 submodule but pylint does not approve.

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
  • Loading branch information
stlaz committed Sep 18, 2017
1 parent 8661611 commit 623ec6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ipaserver/secrets/client.py
Expand Up @@ -13,6 +13,7 @@
import ldapurl
import gssapi
import os
import urllib3
import requests


Expand Down Expand Up @@ -65,8 +66,9 @@ def __init__(

self.keystore = self._keystore(realm, ldap_uri, auth_type)

# FIXME: Remove warnings about missig subjAltName
requests.packages.urllib3.disable_warnings()
# FIXME: Remove warnings about missing subjAltName for the
# requests module
urllib3.disable_warnings()

def init_creds(self):
name = gssapi.Name(self.client_service,
Expand Down

0 comments on commit 623ec6c

Please sign in to comment.