Browse Source

[trac419] fix some conflicts caused by merging

chenzhengzhang 14 years ago
parent
commit
9c22af762d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/xfrout/xfrout.py.in

+ 2 - 2
src/bin/xfrout/xfrout.py.in

@@ -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.