From 6640523373b038064966cb80d86871ede1b67435 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 21 Jul 2024 14:56:34 +0200 Subject: [PATCH] temp - debug read the docs --- src/websockets/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/websockets/version.py b/src/websockets/version.py index 46ae34a4..d2f0d2a5 100644 --- a/src/websockets/version.py +++ b/src/websockets/version.py @@ -63,7 +63,7 @@ def get_version(tag: str) -> str: subprocess.CalledProcessError, subprocess.TimeoutExpired, ): - pass + raise else: description_re = r"[0-9.]+-([0-9]+)-(g[0-9a-f]{7,}(?:-dirty)?)" match = re.fullmatch(description_re, description)