mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
code review
This commit is contained in:
parent
f67053c2ec
commit
37952ab75f
1 changed files with 7 additions and 7 deletions
|
|
@ -35,9 +35,9 @@ logSys = getLogger(__name__)
|
|||
_logLevel = 6
|
||||
|
||||
class ConfigReader():
|
||||
"""Config reader class (previously ConfigWrapper).
|
||||
"""Generic config reader class.
|
||||
|
||||
Automatically shares or use already shared instance of ConfigReaderUnshared.
|
||||
A caching adapter which automatically reuses already shared configuration.
|
||||
"""
|
||||
|
||||
def __init__(self, use_config=None, share_config=None, **kwargs):
|
||||
|
|
@ -200,12 +200,12 @@ class ConfigReaderUnshared(SafeConfigParserWithIncludes):
|
|||
|
||||
class DefinitionInitConfigReader(ConfigReader):
|
||||
"""Config reader for files with options grouped in [Definition] and
|
||||
[Init] sections.
|
||||
[Init] sections.
|
||||
|
||||
Is a base class for readers of filters and actions, where definitions
|
||||
in jails might provide custom values for options defined in [Init]
|
||||
section.
|
||||
"""
|
||||
Is a base class for readers of filters and actions, where definitions
|
||||
in jails might provide custom values for options defined in [Init]
|
||||
section.
|
||||
"""
|
||||
|
||||
_configOpts = []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue