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: