From d081a717598f94163522a4e3a4add4bd307b6d08 Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sat, 29 Jun 2013 13:56:53 +0100 Subject: [PATCH] BF: fail2ban-regex on python3+ --- bin/fail2ban-regex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fail2ban-regex b/bin/fail2ban-regex index ec2dc875..48943e0a 100755 --- a/bin/fail2ban-regex +++ b/bin/fail2ban-regex @@ -415,7 +415,7 @@ if __name__ == "__main__": Formatter = logging.Formatter # Custom log format for the verbose tests runs - if opts.verbose > 1: # pragma: no cover + if opts.verbose: # pragma: no cover stdout.setFormatter(Formatter(' %(asctime)-15s %(thread)s' + fmt)) else: # pragma: no cover # just prefix with the space