From 8b474bbb15b53cc46052391795535d62d6317417 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Fri, 28 Oct 2016 15:02:52 -0400 Subject: [PATCH] Always increment the name_count --- buildbot/master/files/config/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot/master/files/config/factories.py b/buildbot/master/files/config/factories.py index 9ab20336..277f4685 100644 --- a/buildbot/master/files/config/factories.py +++ b/buildbot/master/files/config/factories.py @@ -118,7 +118,7 @@ def step_type(step): # First step has count = 0 but no suffix, # so second step will have `__1` as suffix, etc. step.name += '__{}'.format(existing_count) - name_counts[step_type(step)] += 1 + name_counts[step_type(step)] += 1 self._add_step(step) def _add_step(self, step):