diff options
Diffstat (limited to 'ascension/ascension.py')
-rw-r--r-- | ascension/ascension.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ascension/ascension.py b/ascension/ascension.py index 01cf888..654fefb 100644 --- a/ascension/ascension.py +++ b/ascension/ascension.py | |||
@@ -227,7 +227,7 @@ class Ascension(): | |||
227 | self.ns_process = subprocess.Popen(["gnunet-namestore", "-a", "-S"], stdin=subprocess.PIPE, text=True) | 227 | self.ns_process = subprocess.Popen(["gnunet-namestore", "-a", "-S"], stdin=subprocess.PIPE, text=True) |
228 | start = time.time() | 228 | start = time.time() |
229 | i = 0 | 229 | i = 0 |
230 | setcount = len(self.dnszone.zone.nodes.items())) | 230 | setcount = len(self.dnszone.zone.nodes.items()) |
231 | for name, rdatasets in self.dnszone.zone.nodes.items(): | 231 | for name, rdatasets in self.dnszone.zone.nodes.items(): |
232 | # log if the rdataset is empty for some reason | 232 | # log if the rdataset is empty for some reason |
233 | i += 1 | 233 | i += 1 |
@@ -465,7 +465,7 @@ def main(): | |||
465 | # Zonebackups are needed for retaining information for IXFR and | 465 | # Zonebackups are needed for retaining information for IXFR and |
466 | # offer a zone for dnspython to patch | 466 | # offer a zone for dnspython to patch |
467 | gns_zone_serial = ascender.dnszone.restore_from_file(gns_zone_serial) | 467 | gns_zone_serial = ascender.dnszone.restore_from_file(gns_zone_serial) |
468 | 468 | ascender.logger.info("Zone serial for DNS zone transfer used: `%s'", gns_zone_serial) | |
469 | # Transfer the actual zone | 469 | # Transfer the actual zone |
470 | ascender.dnszone.transfer_zone(gns_zone_serial) | 470 | ascender.dnszone.transfer_zone(gns_zone_serial) |
471 | 471 | ||