saltstack/salt — pull request #9109 by pakdel (2013-12-08 20:44:42+00:00)
Title: A minute optimization in yumpkg._pkg_arch

If package name cannot be split by dot, there is no need to loop through all architectures to check if package name ends with '.arch-name'.