On 21 Mar 2023, at 14:56, Mike Pattrick wrote:

> Prior to v37.0.0, CryptographyDeprecationWarning could not be imported
> from __init__.py resulting in:
>
> Traceback (most recent call last):
>   File "mfex_fuzzy.py", line 9, in <module>
>     category=cryptography.CryptographyDeprecationWarning,
> AttributeError: module 'cryptography' has no attribute
>     'CryptographyDeprecationWarning'
>
> This import was only added to __init__ to deprecate python3.6. Importing
> the exception from cryptography.utils is the compatible option.
>
> Signed-off-by: Mike Pattrick <m...@redhat.com>

Change looks good to me.

Acked-by: Eelco Chaudron <echau...@redhat.com>

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to