From 35a099d995104fb23ee7d27dc4a71e808a117991 Mon Sep 17 00:00:00 2001 From: RhodeCode Admin Date: Mon, 21 Oct 2024 15:42:29 +0200 Subject: [PATCH] fix: version, ensure no newlines are present --- rhodecode/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/__init__.py b/rhodecode/__init__.py index 881b10b9..8754f00a 100644 --- a/rhodecode/__init__.py +++ b/rhodecode/__init__.py @@ -30,7 +30,7 @@ log.debug(f'{now} Starting RhodeCode imports...') VERSION = tuple(open(os.path.join( - os.path.dirname(__file__), 'VERSION')).read().split('.')) + os.path.dirname(__file__), 'VERSION')).read().strip().split('.')) BACKENDS = collections.OrderedDict()