Commit 0b690e4c authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] removed accidentally committed code with the previous fix.

parent 7f8feaab
......@@ -152,14 +152,6 @@ def get_soa_serial(soa_rdata):
return Serial(int(soa_rdata.to_text().split()[2]))
def make_blocking(fd, on=True):
flags = fcntl.fcntl(fd, fcntl.F_GETFL)
if on: # make it blocking
flags &= ~os.O_NONBLOCK
else: # make it non blocking
flags |= os.O_NONBLOCK
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
class XfroutSession():
def __init__(self, sock_fd, request_data, server, tsig_key_ring, remote,
default_acl, zone_config, client_class=DataSourceClient):
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