mirror of https://github.com/fail2ban/fail2ban
Merge remote-tracking branch 'origin/0.9' into 0.9
* origin/0.9: TST: Move test files to correct folder for 0.9 branch BF: fail2ban-regex fix for maxlines init option readerpull/224/merge
commit
6a380139bd
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue