mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Fix for issue #8945
This commit is contained in:
parent
449263b5cf
commit
0db02824e5
@ -27,7 +27,8 @@ def _parse_pkg_meta(path):
|
||||
'''
|
||||
def parse_rpm(path):
|
||||
try:
|
||||
import collections # needed by _parse_pkginfo, DO NOT REMOVE
|
||||
global __SUFFIX_NOT_NEEDED # needed by _parse_pkginfo, DO NOT REMOVE
|
||||
from salt.modules.yumpkg5 import __SUFFIX_NOT_NEEDED
|
||||
from salt.modules.yumpkg5 import __QUERYFORMAT, _parse_pkginfo
|
||||
from salt.utils import namespaced_function as _namespaced_function
|
||||
_parse_pkginfo = _namespaced_function(_parse_pkginfo, globals())
|
||||
|
Loading…
Reference in New Issue
Block a user