ascension

Migrate DNS zones to the GNU Name System
Log | Files | Refs | README | LICENSE

commit ba3c40287c006334dcceac8502f351982bffde1b
parent ef5106902865aecc21998731b8237ab168e9e1ce
Author: rexxnor <rexxnor+gnunet@brief.li>
Date:   Sun, 14 Oct 2018 10:18:18 +0200

fixed zone serialisation

Diffstat:
Mgnsmigrator/gnsmigrator.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnsmigrator/gnsmigrator.py b/gnsmigrator/gnsmigrator.py @@ -477,7 +477,7 @@ class TLDMigrator(BaseMigrator): # zip and pickle the zone with gzip.open('%s.zone.gz' % cls.tld[:-1], 'wb') as zonefile: - pickle.dump(zone, zonefile) + pickle.dump(cls.zone, zonefile) @classmethod def transfer_zone(cls, zone_factory=dns.zone.Zone,