mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
commit
f4aafb8eb4
@ -27,7 +27,8 @@ def _parse_pkg_meta(path):
|
|||||||
'''
|
'''
|
||||||
def parse_rpm(path):
|
def parse_rpm(path):
|
||||||
try:
|
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.modules.yumpkg5 import __QUERYFORMAT, _parse_pkginfo
|
||||||
from salt.utils import namespaced_function as _namespaced_function
|
from salt.utils import namespaced_function as _namespaced_function
|
||||||
_parse_pkginfo = _namespaced_function(_parse_pkginfo, globals())
|
_parse_pkginfo = _namespaced_function(_parse_pkginfo, globals())
|
||||||
|
Loading…
Reference in New Issue
Block a user