mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #28658 from techhat/issue28591
Remove _pkgdb_fun() references
This commit is contained in:
commit
b82abadd9b
1 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ class SPMClient(object):
|
|||
Return a list of packages which need to be installed, to resolve all
|
||||
dependencies
|
||||
'''
|
||||
pkg_info = self._pkgdb_fun('info', formula_def['name'])
|
||||
pkg_info = self.pkgdb['{0}.info'.format(self.db_prov)](formula_def['name'])
|
||||
if not isinstance(pkg_info, dict):
|
||||
pkg_info = {}
|
||||
|
||||
|
@ -247,7 +247,7 @@ class SPMClient(object):
|
|||
dep = dep.strip()
|
||||
if not dep:
|
||||
continue
|
||||
if self._pkgdb_fun('info', dep):
|
||||
if self.pkgdb['{0}.info'.format(self.db_prov)](dep):
|
||||
continue
|
||||
|
||||
if dep in self.avail_pkgs:
|
||||
|
|
Loading…
Add table
Reference in a new issue