From 88bee24edb87e2c468ed53726c459ffcb8f831e2 Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sat, 29 Jun 2013 19:14:42 +0100 Subject: [PATCH] DOC: Neaten format for fail2ban-regex maxlines print --- bin/fail2ban-regex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/fail2ban-regex b/bin/fail2ban-regex index 48943e0a..23b317a7 100755 --- a/bin/fail2ban-regex +++ b/bin/fail2ban-regex @@ -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()