mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
statically assign suffix not needed
This commit is contained in:
parent
df6199bb9f
commit
73b43a37af
@ -28,7 +28,7 @@ def _parse_pkg_meta(path):
|
||||
def parse_rpm(path):
|
||||
try:
|
||||
global __SUFFIX_NOT_NEEDED # needed by _parse_pkginfo, DO NOT REMOVE
|
||||
from salt.modules.yumpkg5 import __SUFFIX_NOT_NEEDED
|
||||
__SUFFIX_NOT_NEEDED = ('x86_64', 'noarch')
|
||||
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