mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #2511 from UtahDave/develop
use format instead of string join.
This commit is contained in:
commit
d2a629e063
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user