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

pull/1867/head
sebres 2017-08-16 20:50:06 +02:00
parent 10c0d95401
commit 72bd666797
1 changed files with 1 additions and 1 deletions

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