mirror of https://github.com/fail2ban/fail2ban
- Corrected log level
- Removed unused import git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@78 a942ae1a-1317-0410-a47c-b1dcaea8d6050.6
parent
1a876366a7
commit
ad93288bd8
|
@ -24,8 +24,6 @@ __date__ = "$Date$"
|
||||||
__copyright__ = "Copyright (c) 2004 Cyril Jaquier"
|
__copyright__ = "Copyright (c) 2004 Cyril Jaquier"
|
||||||
__license__ = "GPL"
|
__license__ = "GPL"
|
||||||
|
|
||||||
import os, sys, time
|
|
||||||
|
|
||||||
from ConfigParser import *
|
from ConfigParser import *
|
||||||
|
|
||||||
class ConfigReader:
|
class ConfigReader:
|
||||||
|
@ -76,7 +74,7 @@ class ConfigReader:
|
||||||
|
|
||||||
values[option[1]] = v
|
values[option[1]] = v
|
||||||
except NoOptionError:
|
except NoOptionError:
|
||||||
self.logSys.info("No '"+option[1]+"' defined in '"+sec+"'")
|
self.logSys.warn("No '"+option[1]+"' defined in '"+sec+"'")
|
||||||
values[option[1]] = option[2]
|
values[option[1]] = option[2]
|
||||||
return values
|
return values
|
||||||
|
|
Loading…
Reference in New Issue