Use target instead of version_num

This commit is contained in:
twangboy 2017-05-03 14:20:40 -06:00
parent 819007cd00
commit 2af38e5564

View File

@ -1428,7 +1428,7 @@ def remove(name=None, pkgs=None, version=None, **kwargs):
)
#Compute msiexec string
use_msiexec, msiexec = _get_msiexec(pkginfo[version_num].get('msiexec', False))
use_msiexec, msiexec = _get_msiexec(pkginfo[target].get('msiexec', False))
# Uninstall the software
# Check Use Scheduler Option