Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/0.9' into 0.9
Browse files Browse the repository at this point in the history
* origin/0.9:
  TST: Move test files to correct folder for 0.9 branch
  BF: fail2ban-regex fix for maxlines init option reader
  • Loading branch information
yarikoptic committed May 13, 2013
2 parents c21b7c3 + ded87ba commit 6a38013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fail2ban-regex
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6a38013

Please sign in to comment.