Merge pull request #247 from vnitinv/246-fix-logfile
junos_install_os used to fail without 'logfile' parameter
This commit is contained in:
Коммит
44929e4363
|
@ -180,7 +180,7 @@ def junos_install_os(module, dev):
|
|||
def do_log(msg, level='info'):
|
||||
getattr(logging, level)(msg)
|
||||
else:
|
||||
def do_log(msg):
|
||||
def do_log(msg, level=None):
|
||||
pass
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче