Skip to content

Commit

Permalink
Add a bunch of TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwidman committed Oct 22, 2018
1 parent 06fcca0 commit 9bbf96a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions kafka/producer/buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def queued(self):
with self._lock:
return len(self._waiters)

# TODO should this be removed or finished?
'''
class BufferPool(object):
"""
Expand Down
1 change: 1 addition & 0 deletions kafka/protocol/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def __eq__(self, other):
return False
return True

# TODO should this be removed or finished?
"""
class MetaStruct(type):
def __new__(cls, clsname, bases, dct):
Expand Down
1 change: 1 addition & 0 deletions kafka/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class Dict(dict):
pass


# TODO what is the purpose of this? It has been unused since it was originally added
def try_method_on_system_exit(obj, method, *args, **kwargs):
def wrapper(_obj, _meth, *args, **kwargs):
try:
Expand Down

0 comments on commit 9bbf96a

Please sign in to comment.