From e9234ac875d042bf2c2f8f041d75b4e539c34efa Mon Sep 17 00:00:00 2001 From: vnitinv Date: Mon, 19 Jun 2017 13:55:41 +0530 Subject: [PATCH] junos_install_os used to fail without 'logfile' parameter --- library/junos_install_os | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/junos_install_os b/library/junos_install_os index 424dd84..633e52c 100644 --- a/library/junos_install_os +++ b/library/junos_install_os @@ -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 # -------------------------------------------------------------------------