# HG changeset patch # User domruf # Date 2017-05-10 22:58:06 # Node ID fb7f38e22730d25d0133258c6cd9f24df9ad1b00 # Parent 1e4aaf9a58a6674d6eae44672bcda344dc524ce5 bin: fix __eq__ of bin/base.py RcConf __eq__ without parameter makes no sense - found by pylint. (The method is thus apparently unused and could be removed completely together with other RcConf code.) diff --git a/kallithea/bin/base.py b/kallithea/bin/base.py --- a/kallithea/bin/base.py +++ b/kallithea/bin/base.py @@ -111,8 +111,8 @@ class RcConf(object): return True return False - def __eq__(self): - return self._conf.__eq__() + def __eq__(self, other): + return self._conf.__eq__(other) def __repr__(self): return 'RcConf<%s>' % self._conf.__repr__()