From 37952ab75f4cb34ffa9180a5a35344a2dfa53475 Mon Sep 17 00:00:00 2001 From: sebres Date: Thu, 9 Oct 2014 19:51:53 +0200 Subject: [PATCH] code review --- fail2ban/client/configreader.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fail2ban/client/configreader.py b/fail2ban/client/configreader.py index a3b5645e..096f8e78 100644 --- a/fail2ban/client/configreader.py +++ b/fail2ban/client/configreader.py @@ -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 = []