##// END OF EJS Templates
fix(usage): remove print as it leaks to various other outputs like git stdout
super-admin -
r5228:570229d4 default
parent child Browse files
Show More
@@ -19,11 +19,15 b''
19 19 import os
20 20 import datetime
21 21 import collections
22 import logging
23
22 24
23 25 now = datetime.datetime.now()
24 26 now = now.strftime("%Y-%m-%d %H:%M:%S") + '.' + f"{int(now.microsecond/1000):03d}"
25 27
26 print(f'{now} Starting RhodeCode imports...')
28 log = logging.getLogger(__name__)
29 log.debug(f'{now} Starting RhodeCode imports...')
30
27 31
28 32 VERSION = tuple(open(os.path.join(
29 33 os.path.dirname(__file__), 'VERSION')).read().split('.'))
General Comments 0
You need to be logged in to leave comments. Login now