Skip to content

Commit

Permalink
Merge pull request #220 from kwirk/0.9_tweaks
Browse files Browse the repository at this point in the history
0.9 tweaks.  file moves after the merge  and exception catching
  • Loading branch information
yarikoptic committed May 9, 2013
2 parents 709b437 + b791244 commit ded87ba
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fail2ban-regex
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ded87ba

Please sign in to comment.