Merge pull request #5117 from cvrebert/patch-1

win_pkg mod: actually invoke refresh_db
This commit is contained in:
Thomas S Hatch 2013-05-17 20:20:16 -07:00
commit ed8b371c6e

View File

@ -571,7 +571,7 @@ def _get_package_info(name):
repocache = __opts__['win_repo_cachefile']
cached_repo = __salt__['cp.is_cached'](repocache)
if not cached_repo:
__salt__['pkg.refresh_db']
__salt__['pkg.refresh_db']()
try:
with salt.utils.fopen(cached_repo, 'r') as repofile:
try: