Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSS2 multiple exception types must be parenthesized #360

Open
h3clikejava opened this issue Sep 8, 2023 · 0 comments
Open

OSS2 multiple exception types must be parenthesized #360

h3clikejava opened this issue Sep 8, 2023 · 0 comments

Comments

@h3clikejava
Copy link

Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import oss2
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.10/dist-packages/oss2/init.py", line 3, in
from . import models, exceptions, defaults
File "/usr/local/lib/python3.10/dist-packages/oss2/models.py", line 9, in
from . import utils
File "/usr/local/lib/python3.10/dist-packages/oss2/utils.py", line 33, in
from Crypto import Random
File "/home/xxx/.local/lib/python3.10/site-packages/Crypto/Random/init.py", line 28, in
from Crypto.Random import OSRNG
File "/home/xxx/.local/lib/python3.10/site-packages/Crypto/Random/OSRNG/init.py", line 32, in
from Crypto.Random.OSRNG.posix import new
File "/home/xxx/.local/lib/python3.10/site-packages/Crypto/Random/OSRNG/posix.py", line 66
except IOError, e:
^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant