Browse Source

AxfrSource python3

pull/384/head
Ross McFarland 6 years ago
parent
commit
e0c5962d79
No known key found for this signature in database GPG Key ID: 61C10C4FC8FE4A89
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      octodns/source/axfr.py

+ 2
- 2
octodns/source/axfr.py View File

@ -15,6 +15,7 @@ from dns.exception import DNSException
from collections import defaultdict
from os import listdir
from os.path import join
from six import text_type
import logging
from ..record import Record
@ -179,8 +180,7 @@ class ZoneFileSourceNotFound(ZoneFileSourceException):
class ZoneFileSourceLoadFailure(ZoneFileSourceException):
def __init__(self, error):
super(ZoneFileSourceLoadFailure, self).__init__(
error.message)
super(ZoneFileSourceLoadFailure, self).__init__(text_type(error))
class ZoneFileSource(AxfrBaseSource):


Loading…
Cancel
Save