From 8e4331d424aa3c126a4f65aae81432831170c5de Mon Sep 17 00:00:00 2001 From: chidanandpujar Date: Mon, 14 Oct 2024 16:54:40 +0530 Subject: [PATCH] pull requests for issue #1322 #1315 --- lib/jnpr/junos/utils/sw.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/jnpr/junos/utils/sw.py b/lib/jnpr/junos/utils/sw.py index 9aeca8bb6..bd2565d3b 100644 --- a/lib/jnpr/junos/utils/sw.py +++ b/lib/jnpr/junos/utils/sw.py @@ -985,14 +985,16 @@ def _progress(report): if issu is True: if validate is False: # To Check validation is False - kwargs.update({"no_validate": True}) # Need to pass the no_validate option via kwargs + # Need to pass the no_validate option via kwargs + kwargs.update({"no_validate": True}) _progress("ISSU: installing software ... please be patient ...") return self.pkgaddISSU( remote_package, vmhost=vmhost, dev_timeout=timeout, **kwargs ) elif nssu is True: if validate is False: - kwargs.update({"no_validate": True}) # Need to pass the no_validate option via kwargs + # Need to pass the no_validate option via kwargs + kwargs.update({"no_validate": True}) _progress("NSSU: installing software ... please be patient ...") return self.pkgaddNSSU(remote_package, dev_timeout=timeout, **kwargs) elif member_id is not None: