Skip to content

Commit

Permalink
Strip splitted list
Browse files Browse the repository at this point in the history
And not initial string
  • Loading branch information
Ekaterina Chernova committed Jul 6, 2018
1 parent cb79ec7 commit 0bc6140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kqueen/auth/common.py
Expand Up @@ -43,7 +43,7 @@
def generate_auth_options(auth_list):
auth_options = {}

methods = auth_list.strip().split(',')
methods = [item.strip() for item in auth_list.split(',')]
for m in methods:
if m in AUTH_MODULES:
auth_options[m] = AUTH_MODULES[m]
Expand Down

0 comments on commit 0bc6140

Please sign in to comment.