From 4669524cc3c0b539b0be10fd33b832c811e92a6d Mon Sep 17 00:00:00 2001 From: SessionIssue <118734962+SessionIssue@users.noreply.github.com> Date: Thu, 5 Jan 2023 15:20:24 +0100 Subject: [PATCH] Revert "Update __init__ for issue 2215 (#2539)" This reverts commit f14ed1fc822a88a21bbfc64e36bf8b09e5c9386c. --- redis/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/redis/__init__.py b/redis/__init__.py index df4271ce36..6503ac30b4 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -53,10 +53,7 @@ def int_or_str(value): __version__ = "99.99.99" -try: - VERSION = tuple(map(int_or_str, __version__.split("."))) -except ValueError: - VERSION = tuple(99, 99, 99) +VERSION = tuple(map(int_or_str, __version__.split("."))) __all__ = [ "AuthenticationError",