diff options
author | SessionIssue <118734962+SessionIssue@users.noreply.github.com> | 2023-01-08 09:41:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 10:41:58 +0200 |
commit | decd1f6ae5434b111c5b125263549d8743275e51 (patch) | |
tree | 6ed0bae24404523c0239b1457997ca918a5739e8 | |
parent | a9ef0c5d0080bd14e2f189d7f31d83e758346a8d (diff) | |
download | redis-py-decd1f6ae5434b111c5b125263549d8743275e51.tar.gz |
ValueError must be AttributeError in __init__.py (#2542)
* Revert "Update __init__ for issue 2215 (#2539)"
This reverts commit f14ed1fc822a88a21bbfc64e36bf8b09e5c9386c.
* Update __init__.py
ValueError must be AttributeError ofc.
-rw-r--r-- | redis/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/__init__.py b/redis/__init__.py index df4271c..3ab6970 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -55,7 +55,7 @@ except metadata.PackageNotFoundError: try: VERSION = tuple(map(int_or_str, __version__.split("."))) -except ValueError: +except AttributeError: VERSION = tuple(99, 99, 99) __all__ = [ |