From c98b01bd1d70be75e0b67c50fcea65b345f9acea Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Thu, 9 May 2013 23:37:52 +0100 Subject: [PATCH] BF: fail2ban-regex fix for maxlines init option reader --- bin/fail2ban-regex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fail2ban-regex b/bin/fail2ban-regex index e3d75f20..2b563cae 100755 --- a/bin/fail2ban-regex +++ b/bin/fail2ban-regex @@ -213,7 +213,7 @@ class Fail2banRegex: # Read out and set possible value of maxlines try: maxlines = reader.get("Init", "maxlines") - except NoSectionError, NoOptionError: + except (NoSectionError, NoOptionError): # No [Init].maxlines found. pass else: