diff --git a/contrib/clients/python/lens/client/auth.py b/contrib/clients/python/lens/client/auth.py index fccc75c95..51195f42b 100644 --- a/contrib/clients/python/lens/client/auth.py +++ b/contrib/clients/python/lens/client/auth.py @@ -14,11 +14,14 @@ # See the License for the specific language governing permissions and # limitations under the License. # +from future.standard_library import install_aliases +install_aliases() + import kerberos from requests.auth import AuthBase import subprocess import threading -from urlparse import urlparse +from urllib.parse import urlparse class SpnegoAuth(AuthBase):