from .errors import PpError
from .obj import PpBaseObjectError, PpBaseObject
-__version__ = '0.4.3'
+__version__ = '0.4.4'
LOG = logging.getLogger(__name__)
# -------------------------------------------------------------------------
def __copy__(self):
- soa = PdnsSoaData(
- primary=self.primary, email=self.email, serial=self.serial, refresh=self.refresh,
- retry=self.retry, expire=self.expire, ttl=self.ttl, appname=self.appname,
- version=self.version, base_dir=self.base_dir)
- return soa
+ if self.verbose > 4:
+ LOG.debug("Copying current {}-object in a new one.".format(self.__class__.__name__))
+
+ soa = PdnsSoaData(
+ primary=self.primary, email=self.email, serial=self.serial, refresh=self.refresh,
+ retry=self.retry, expire=self.expire, ttl=self.ttl, appname=self.appname,
+ version=self.version, base_dir=self.base_dir)
+ return soa
# -------------------------------------------------------------------------
def __eq__(self, other):
+ if self.verbose > 4:
+ LOG.debug("Comparing {}-objects ...".format(self.__class__.__name__))
+
if not isinstance(other, PdnsSoaData):
return False