Fix flake8 warning
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2022-05-01 01:55:46 +02:00
parent e61d82e025
commit 21692634f2

3
gitdch
View file

@ -135,7 +135,8 @@ if not options.package_name:
# Initialize log # Initialize log
log = logging.getLogger() log = logging.getLogger()
logformat = logging.Formatter( logformat = logging.Formatter(
f'%(asctime)s - {os.path.basename(sys.argv[0])} - %(levelname)s : %(message)s' f'%(asctime)s - {os.path.basename(sys.argv[0])} - %(levelname)s '
': %(message)s'
) )
# Set root logger to DEBUG (filtering done by handlers) # Set root logger to DEBUG (filtering done by handlers)
log.setLevel(logging.DEBUG) log.setLevel(logging.DEBUG)