Merge pull request #220 from kwirk/0.9_tweaks

0.9 tweaks.  file moves after the merge  and exception catching
pull/224/merge
Yaroslav Halchenko 2013-05-09 16:14:05 -07:00
commit ded87bad9a
5 changed files with 1 additions and 1 deletions

View File

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