from __future__ import absolute_import
# Standard modules
-import os
import logging
import logging.config
import textwrap
from functools import cmp_to_key
# Own modules
-from .common import pp, compare_fqdn, to_str
+from .common import to_str
from .common import RE_DOT_AT_END
-from .pdns_app import PpPDNSAppError, PpPDNSApplication, PDNSApiNotFoundError, PDNSApiValidationError
-from .pdns_zone import PdnsApiZone
+from .pdns_app import PpPDNSAppError, PpPDNSApplication
from .pdns_record import compare_rrsets
-__version__ = '0.4.2'
+__version__ = '0.4.3'
LOG = logging.getLogger(__name__)
def show_zone(self, zone_name):
zone_unicode = zone_name
- json_response = None
zout = "{!r}".format(zone_name)
if 'xn--' in zone_name:
zone_unicode = zone_name.encode('idna').decode('idna')
if zone.masters:
i = 0
- for master in masters:
+ for master in zone.masters:
if i:
msg += " {!r}".format(master)
else: