Fixes representation of IPAddr (likely the string representation, enclosed in single-quotes).

This commit is contained in:
sebres 2017-08-16 20:50:06 +02:00
parent 10c0d95401
commit 72bd666797

View file

@ -298,7 +298,7 @@ class IPAddr(object):
self._family = IPAddr.CIDR_RAW
def __repr__(self):
return self.ntoa
return repr(self.ntoa)
def __str__(self):
return self.ntoa