From 62798011e3842c106d4a9ed37bc112461c2f6c86 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Fri, 15 Jan 2021 12:02:34 +0100 Subject: [PATCH] Attempt to fix failing test #2 --- youtube_dl/extractor/vier_auth_aws.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/youtube_dl/extractor/vier_auth_aws.py b/youtube_dl/extractor/vier_auth_aws.py index f5b9b14ab..ab7241f27 100644 --- a/youtube_dl/extractor/vier_auth_aws.py +++ b/youtube_dl/extractor/vier_auth_aws.py @@ -1,16 +1,14 @@ # coding: utf-8 -from __future__ import unicode_literals +from __future__ import absolute_import, division, unicode_literals # Taken from https://github.com/add-ons/plugin.video.viervijfzes/blob/master/resources/lib/viervijfzes/auth_awsidp.py # with some small modifications (replacement of six and requests, removal of unused function, reformatting) # This file is licensed as GPL-3 from https://github.com/add-ons/plugin.video.viervijfzes: # https://github.com/add-ons/plugin.video.viervijfzes/blob/master/LICENSE -""" Amazon Cognito implementation without external dependencies """ +# Amazon Cognito implementation without external dependencies # Based on https://github.com/retrospect-addon/plugin.video.retrospect/blob/master/channels/channel.be/vier/awsidp.py -from __future__ import absolute_import, division - import base64 import binascii import datetime