Skip to content

Commit

Permalink
python2.6 does not support set literals
Browse files Browse the repository at this point in the history
  • Loading branch information
vimalloc committed Nov 30, 2016
1 parent 0550fa3 commit 2a09da2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jwt/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
except ImportError:
has_crypto = False

requires_cryptography = {'RS256', 'RS384', 'RS512', 'ES256', 'ES384', 'ES521',
'ES512', 'PS256', 'PS384', 'PS512'}
requires_cryptography = set(['RS256', 'RS384', 'RS512', 'ES256', 'ES384',
'ES521', 'ES512', 'PS256', 'PS384', 'PS512'])


def get_default_algorithms():
Expand Down

0 comments on commit 2a09da2

Please sign in to comment.