ENH: use format string rather than concatination on log message

pull/482/head
Daniel Black 2013-12-09 23:07:42 +11:00
parent 94a7609501
commit 916649119e
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class Filter(JailThread):
def addBannedIP(self, ip):
if self.inIgnoreIPList(ip):
logSys.warning('Requested to manually ban an ignored IP ' + ip + '. User knows best. Proceeding to ban it.')
logSys.warning('Requested to manually ban an ignored IP %s. User knows best. Proceeding to ban it.' % ip)
unixTime = MyTime.time()
for i in xrange(self.failManager.getMaxRetry()):