Deduplicate an initialization code
Change-Id: Ice714291da011e6fb4eb2ba5777ac5b0dab71a50
This commit is contained in:
parent
781f73ddfa
commit
2861f29bfe
|
@ -30,7 +30,6 @@ class PickIndexVoter(base.BaseVoter):
|
|||
def __init__(self, _id, _config):
|
||||
super(PickIndexVoter, self).__init__(_id, _config)
|
||||
self._index = _config["index"]
|
||||
self._index = 0
|
||||
|
||||
@staticmethod
|
||||
def validate_config(_config):
|
||||
|
|
Loading…
Reference in New Issue