Skip to content

Commit 2a09da2

Browse files
committed
python2.6 does not support set literals
1 parent 0550fa3 commit 2a09da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jwt/algorithms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
except ImportError:
3232
has_crypto = False
3333

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

3737

3838
def get_default_algorithms():

0 commit comments

Comments
 (0)