DOC: Neaten format for fail2ban-regex maxlines print

pull/277/head
Steven Hiscocks 12 years ago
parent d081a71759
commit 88bee24edb

@ -234,7 +234,8 @@ class Fail2banRegex(object):
else:
try:
self.setMaxLines(maxlines)
print "Use maxlines : %d" % self._filter.getMaxLines()
print "Use maxlines : %d" % (
self._filter.getMaxLines(), )
except ValueError:
print "ERROR: Invalid value for maxlines (%(maxlines)r) " \
"read from %(value)s" % locals()

Loading…
Cancel
Save