Commit 9c22af76 authored by chenzhengzhang's avatar chenzhengzhang
Browse files

[trac419] fix some conflicts caused by merging

parent 543f4066
......@@ -152,7 +152,7 @@ class XfroutSession():
# specific zone, we need to judge if the zone has an SOA record;
# if not, we consider the zone has incomplete data, so xfrout can't
# serve for it.
if sqlite3_ds.get_zone_soa(zone, self.server.get_db_file()):
if sqlite3_ds.get_zone_soa(zone, self._server.get_db_file()):
return True
return False
......@@ -164,7 +164,7 @@ class XfroutSession():
# authority for the specific zone.
# TODO: should get zone's configuration from cfgmgr or other place
# in future.
return sqlite3_ds.zone_exist(zonename, self.server.get_db_file())
return sqlite3_ds.zone_exist(zonename, self._server.get_db_file())
def _check_xfrout_available(self, zone_name):
'''Check if xfr request can be responsed.
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