Spelling, Changed docstring to comment

pull/25/head
Lee Clemens 2012-01-09 19:30:49 -05:00
parent f90d53fc26
commit b7adb29088
1 changed files with 3 additions and 5 deletions

View File

@ -19,7 +19,7 @@
# Author: Cyril Jaquier # Author: Cyril Jaquier
__author__ = "Cyril Jaquier, Lee Celemens, Yaroslav Halchenko" __author__ = "Cyril Jaquier, Lee Clemens, Yaroslav Halchenko"
__copyright__ = "Copyright (c) 2004 Cyril Jaquier, 2011-2012 Lee Clemens, 2012 Yaroslav Halchenko" __copyright__ = "Copyright (c) 2004 Cyril Jaquier, 2011-2012 Lee Clemens, 2012 Yaroslav Halchenko"
__license__ = "GPL" __license__ = "GPL"
@ -32,10 +32,8 @@ logSys = logging.getLogger("fail2ban.jail")
class Jail: class Jail:
_BACKENDS = ('pyinotify', 'gamin', 'pull') #Known backends. Each backend should have corresponding __initBackend method
"""Known backends. Each backend should have corresponding _BACKENDS = ('pyinotify', 'gamin', 'polling')
__initBackend method
"""
def __init__(self, name, backend = "auto"): def __init__(self, name, backend = "auto"):
self.__name = name self.__name = name