mirror of https://github.com/fail2ban/fail2ban
Fixes representation of IPAddr (likely the string representation, enclosed in single-quotes).
parent
10c0d95401
commit
72bd666797
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue