Don't rely on linkcheck/__init__.py for log aliases in linkchecker

This commit is contained in:
Chris Mayo 2020-09-24 19:23:13 +01:00
parent a6d6fa0cd4
commit 7ea9cbf056

View file

@ -28,8 +28,7 @@ import getpass
# installs _() and _n() gettext functions into global namespace
import linkcheck
log = linkcheck.log
logconf = linkcheck.logconf
from linkcheck import log, logconf
LOG_CMDLINE = linkcheck.LOG_CMDLINE
logconf.init_log_config()