Skip to content

Commit 3477af1

Browse files
nuwangahmedhamidawan
authored andcommitted
Fix linting error by removing unused import
lint whitespace
1 parent 8f260cc commit 3477af1

File tree

1 file changed

+1
-2
lines changed
  • lib/galaxy/webapps/galaxy/controllers

1 file changed

+1
-2
lines changed

lib/galaxy/webapps/galaxy/controllers/authnz.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import datetime
66
import json
77
import logging
8-
from urllib.parse import quote
98

109
import jwt
1110

@@ -126,7 +125,7 @@ def callback(self, trans, provider, idphint=None, **kwargs):
126125
"Please try again, and if the problem persists, contact "
127126
"the Galaxy instance admin."
128127
)
129-
redirect_to = trans.url_builder("/login/start", message=error_msg, status="danger")
128+
redirect_to = trans.url_builder("/login/start", message=error_msg, status="danger")
130129
return trans.response.send_redirect(redirect_to)
131130
try:
132131
success, message, (redirect_url, user) = trans.app.authnz_manager.callback(

0 commit comments

Comments
 (0)