statically assign suffix not needed

This commit is contained in:
Thomas S Hatch 2013-12-03 12:49:00 -07:00
parent df6199bb9f
commit 73b43a37af

View File

@ -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())