diff options
author | Dana Powers <dana.powers@rd.io> | 2016-01-01 22:59:55 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2016-01-01 23:00:13 -0800 |
commit | b6e9b7f74dd1f48b5331600fc4c80406c35c6993 (patch) | |
tree | 9dd95a6791aa09174fccbf44d3c0cd20d2126305 /kafka/consumer/base.py | |
parent | eab50649297033a7c0883fb30b7f6e0ade77b603 (diff) | |
download | kafka-python-b6e9b7f74dd1f48b5331600fc4c80406c35c6993.tar.gz |
Disable pylint errors for py2/py3 compatibility workarounds
Diffstat (limited to 'kafka/consumer/base.py')
-rw-r--r-- | kafka/consumer/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kafka/consumer/base.py b/kafka/consumer/base.py index 4ac8c66..a90038f 100644 --- a/kafka/consumer/base.py +++ b/kafka/consumer/base.py @@ -197,7 +197,8 @@ class Consumer(object): # ValueError on list.remove() if the exithandler no longer # exists is fine here try: - atexit._exithandlers.remove((self._cleanup_func, (self,), {})) + atexit._exithandlers.remove( # pylint: disable=no-member + (self._cleanup_func, (self,), {})) except ValueError: pass |