Skip to content

Commit 4669524

Browse files
authored
Revert "Update __init__ for issue 2215 (redis#2539)"
This reverts commit f14ed1f.
1 parent a9ef0c5 commit 4669524

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

redis/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ def int_or_str(value):
5353
__version__ = "99.99.99"
5454

5555

56-
try:
57-
VERSION = tuple(map(int_or_str, __version__.split(".")))
58-
except ValueError:
59-
VERSION = tuple(99, 99, 99)
56+
VERSION = tuple(map(int_or_str, __version__.split(".")))
6057

6158
__all__ = [
6259
"AuthenticationError",

0 commit comments

Comments
 (0)