Skip to content

Commit 03dbb88

Browse files
authored
Merge pull request #242 from onelogin/fix_travis_39
Fix travis and python 3.9
2 parents 2427274 + be1c1c8 commit 03dbb88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo-django/demo/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def index(request):
8787
if 'RelayState' in req['post_data'] and OneLogin_Saml2_Utils.get_self_url(req) != req['post_data']['RelayState']:
8888
return HttpResponseRedirect(auth.redirect_to(req['post_data']['RelayState']))
8989
elif auth.get_settings().is_debug_active():
90-
error_reason = auth.get_last_error_reason()
90+
error_reason = auth.get_last_error_reason()
9191
elif 'sls' in req['get_data']:
9292
request_id = None
9393
if 'LogoutRequestID' in request.session:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
extras_require={
4747
'test': (
4848
'coverage>=4.5.2',
49-
'freezegun==0.3.11',
49+
'freezegun>=0.3.11, <=1.1.0',
5050
'pylint==1.9.4',
51-
'flake8==3.6.0',
51+
'flake8>=3.6.0',
5252
'coveralls==1.5.1',
5353
),
5454
},

0 commit comments

Comments
 (0)