another fix for changes that were breaking automated tests.

This commit is contained in:
Gareth J. Greenaway 2014-07-07 11:02:52 -07:00
parent e64fbd5c25
commit b29984d81e

View File

@ -386,7 +386,7 @@ def install(name=None,
refreshdb = False refreshdb = False
if salt.utils.is_true(refresh): if salt.utils.is_true(refresh):
refreshdb = True refreshdb = True
if 'version' in kwargs: if 'version' in kwargs and kwargs['version']:
refreshdb = False refreshdb = False
_latest_version = latest_version(name, refresh=False, show_installed=True) _latest_version = latest_version(name, refresh=False, show_installed=True)
_version = kwargs.get('version') _version = kwargs.get('version')