Skip to content

Commit

Permalink
Merge branch 'pylint-bad-mcs-classmethod-argument' of git://github.co…
Browse files Browse the repository at this point in the history
…m/elmirjagudin/buildbot into nine
  • Loading branch information
djmitche committed Nov 8, 2013
2 parents 1826273 + 909631e commit 52493c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/test/util/validation.py
Expand Up @@ -37,8 +37,8 @@ def validate(self, name, object):

class __metaclass__(type):

def __new__(mcls, name, bases, attrs):
cls = type.__new__(mcls, name, bases, attrs)
def __new__(mcs, name, bases, attrs):
cls = type.__new__(mcs, name, bases, attrs)
if 'name' in attrs and attrs['name']:
assert attrs['name'] not in validatorsByName
validatorsByName[attrs['name']] = cls
Expand Down

0 comments on commit 52493c0

Please sign in to comment.