Commit f06cabd3 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1389] some unrelated cleanups: removed now-meaningless comment; removed

redundant 'pass'
parent 0e945f09
......@@ -558,7 +558,6 @@ class XfroutSession():
self._send_message(sock_fd, msg, self._tsig_ctx)
def _reply_xfrout_query(self, msg, sock_fd):
#TODO, there should be a better way to insert rrset.
msg.make_response()
msg.set_header_flag(Message.HEADERFLAG_AA)
# Reserved space for the fixed header size, the size of the question
......@@ -814,7 +813,6 @@ class UnixSockServer(socketserver_mixin.NoPollMixIn,
os.unlink(self._sock_file)
except Exception as e:
logger.error(XFROUT_REMOVE_UNIX_SOCKET_FILE_ERROR, self._sock_file, str(e))
pass
def update_config_data(self, new_config):
'''Apply the new config setting of xfrout module.
......
Markdown is supported
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