mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Fixes representation of IPAddr (likely the string representation, enclosed in single-quotes).
This commit is contained in:
parent
10c0d95401
commit
72bd666797
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue