fix(usage): remove print as it leaks to various other outputs like git stdout
This commit is contained in:
parent
0147afa4ff
commit
2557f18da5
1 changed files with 5 additions and 1 deletions
|
|
@ -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('.'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue