Commit e5954023 authored by chenzhengzhang's avatar chenzhengzhang
Browse files

[trac815] add TODO item

parent afd75a89
...@@ -134,6 +134,8 @@ class XfrinConnection(asyncore.dispatcher): ...@@ -134,6 +134,8 @@ class XfrinConnection(asyncore.dispatcher):
msg = self._create_query(query_type) msg = self._create_query(query_type)
render = MessageRenderer() render = MessageRenderer()
# XXX Currently, python wrapper doesn't accept 'None' parameter in this case,
# we should remove the if statement and use a universal interface later.
if self._tsig_ctx is not None: if self._tsig_ctx is not None:
msg.to_wire(render, self._tsig_ctx) msg.to_wire(render, self._tsig_ctx)
else: else:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment