From 4f6a15897d432f9c24995bc8dfe094f04dbfb4c2 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 4 Sep 2016 16:30:55 +0000 Subject: [PATCH] fix conditional --- roles/fedmsg/base/templates/logging.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/fedmsg/base/templates/logging.py.j2 b/roles/fedmsg/base/templates/logging.py.j2 index 641e1dae99..54ba3774fc 100644 --- a/roles/fedmsg/base/templates/logging.py.j2 +++ b/roles/fedmsg/base/templates/logging.py.j2 @@ -176,7 +176,7 @@ config = dict( formatters=dict( bare={ "datefmt": "%Y-%m-%d %H:%M:%S", - {% if inventory_hostname.startswith('bodhi-backend01', 'bodhi-backend03') %} + {% if inventory_hostname.startswith(('bodhi-backend01', 'bodhi-backend03')) %} # Here we use a different format just so we can include # threadName. We set the threadName in the bodhi masher to some # useful strings that will tell us which branch is doing what.