From afc02b0bb586f497c4c5cd7013d5ef0f72376d68 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 16 Jun 2015 19:23:20 +0000 Subject: [PATCH] Fix syntax error. --- roles/fedmsg/base/templates/endpoints.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/fedmsg/base/templates/endpoints.py.j2 b/roles/fedmsg/base/templates/endpoints.py.j2 index e6187ad610..fe9c8fcf80 100644 --- a/roles/fedmsg/base/templates/endpoints.py.j2 +++ b/roles/fedmsg/base/templates/endpoints.py.j2 @@ -107,7 +107,7 @@ config = dict( {% if 'fedmsg_wsgi_service' in hostvars[host] %} "{{hostvars[host]['fedmsg_wsgi_service']}}.{{hostvars[host].split('.')|first}}": [ {% for i in range(wsgi_procs * wsgi_threads) %} - "tcp://{{host}}:30{{%02d % i}}", + "tcp://{{host}}:30{{'%02d' % i}}", {% endfor %} ], {% endif %}