Merge pull request #831 from dcolish/develop

Use str.format for template string
This commit is contained in:
Thomas S Hatch 2012-03-04 10:48:36 -08:00
commit 342b60e18a

View File

@ -155,8 +155,8 @@ def minion_config(path):
opts['master_ip'] = dns_check(opts['master'])
opts['master_uri'] = 'tcp://%s:%s' % (opts['master_ip'],
opts['master_port'])
opts['master_uri'] = 'tcp://{ip}:{port}'.format(ip=opts['master_ip'],
port=opts['master_port'])
# Enabling open mode requires that the value be set to True, and
# nothing else!