Fix formatting / import ordering.

This commit is contained in:
Dan Helfman 2019-05-27 15:46:38 -07:00
parent 9ceeae2de0
commit 12441331e6
2 changed files with 2 additions and 3 deletions

View file

@ -19,7 +19,7 @@ from borgmatic.borg import list as borg_list
from borgmatic.borg import prune as borg_prune
from borgmatic.commands import hook
from borgmatic.config import checks, collect, convert, validate
from borgmatic.logger import get_logger, should_do_markup, configure_logging
from borgmatic.logger import configure_logging, get_logger, should_do_markup
from borgmatic.signals import configure_signals
from borgmatic.verbosity import verbosity_to_log_level

View file

@ -119,6 +119,5 @@ def configure_logging(console_log_level, syslog_log_level=None):
syslog_handler.setLevel(syslog_log_level)
logging.basicConfig(
level=min(console_log_level, syslog_log_level),
handlers=(console_handler, syslog_handler),
level=min(console_log_level, syslog_log_level), handlers=(console_handler, syslog_handler)
)