# HG changeset patch # User RhodeCode Admin # Date 2024-10-21 13:42:29 # Node ID 9f4e86604c5e7dee459ead519e48e9569076203f # Parent efc8997dee46f8b2ebb1114cb55d43bbcc577402 fix: version, ensure no newlines are present diff --git a/rhodecode/__init__.py b/rhodecode/__init__.py --- a/rhodecode/__init__.py +++ b/rhodecode/__init__.py @@ -30,7 +30,7 @@ log.debug(f'{now} Starting RhodeCode imp VERSION = tuple(open(os.path.join( - os.path.dirname(__file__), 'VERSION')).read().split('.')) + os.path.dirname(__file__), 'VERSION')).read().strip().split('.')) BACKENDS = collections.OrderedDict()