##// 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 import os
19 import os
20 import datetime
20 import datetime
21 import collections
21 import collections
22 import logging
23
22
24
23 now = datetime.datetime.now()
25 now = datetime.datetime.now()
24 now = now.strftime("%Y-%m-%d %H:%M:%S") + '.' + f"{int(now.microsecond/1000):03d}"
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 VERSION = tuple(open(os.path.join(
32 VERSION = tuple(open(os.path.join(
29 os.path.dirname(__file__), 'VERSION')).read().split('.'))
33 os.path.dirname(__file__), 'VERSION')).read().split('.'))
General Comments 0
You need to be logged in to leave comments. Login now