From 7a819a77a07222260ee48474284591febd843265 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Fri, 28 Oct 2016 14:33:09 -0400 Subject: [PATCH] Pass right number of args to _add_step --- 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 b637ea75..9ab20336 100644 --- a/buildbot/master/files/config/factories.py +++ b/buildbot/master/files/config/factories.py @@ -119,7 +119,7 @@ def step_type(step): # so second step will have `__1` as suffix, etc. step.name += '__{}'.format(existing_count) name_counts[step_type(step)] += 1 - self._add_step(self, step) + self._add_step(step) def _add_step(self, step): """\