# HG changeset patch # User RhodeCode Admin # Date 2024-10-21 13:42:29 # Node ID eb074aea1baabd5a3e603b420d746d84328fab7d # Parent 78129c9a7556fb9d72f59c65a00766a3168d54f6 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()