saltstack/salt — pull request #1204 by uggedal (2012-05-04 11:51:48+00:00)
Title: Fix bug and clean up version handling in pacman.install.

Since the check for 'version' in kwarg did not check that the version
value was not None installation of new packages through the pkg
state (which always passes version as a kwarg) resulted in the following
commandline if no version was specified in the state file:

pacman -Syu --noprogressbar --noconfirm "bash-completion=None"