fix(usage): remove print as it leaks to various other outputs like git stdout

This commit is contained in:
RhodeCode Admin 2023-12-15 09:46:05 +01:00
parent 0147afa4ff
commit 2557f18da5

View file

@ -19,11 +19,15 @@
import os
import datetime
import collections
import logging
now = datetime.datetime.now()
now = now.strftime("%Y-%m-%d %H:%M:%S") + '.' + f"{int(now.microsecond/1000):03d}"
print(f'{now} Starting RhodeCode imports...')
log = logging.getLogger(__name__)
log.debug(f'{now} Starting RhodeCode imports...')
VERSION = tuple(open(os.path.join(
os.path.dirname(__file__), 'VERSION')).read().split('.'))