| try: |
| fromjose.backends.pycrypto_backendimportRSAKey# noqa: F401 |
| exceptImportError: |
| try: |
| fromjose.backends.cryptography_backendimportCryptographyRSAKeyasRSAKey# noqa: F401 |
| exceptImportError: |
| fromjose.backends.rsa_backendimportRSAKey# noqa: F401 |
pycrypto and cryptography should swap places here for the case where both are installed.
python-jose/jose/backends/__init__.py
Lines 2 to 8 in cc710e0
pycryptoandcryptographyshould swap places here for the case where both are installed.