Merge pull request #2511 from UtahDave/develop

use format instead of string join.
This commit is contained in:
David Boucha 2012-11-10 10:52:44 -08:00
commit d2a629e063

View File

@ -71,7 +71,7 @@ def version(name):
salt '*' pkg.version <package name>
'''
# check for :i386 appended to 32bit name installed on 64bit machine
name32bit = ''.join([name, ':i386'])
name32bit = '{0}:i386'.format(name)
pkgs = list_pkgs(name)
if name in pkgs: