BF: fail2ban-regex on python3+

pull/277/head
Steven Hiscocks 2013-06-29 13:56:53 +01:00
parent 5ca6a9aeb6
commit d081a71759
1 changed files with 1 additions and 1 deletions

View File

@ -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