mirror of https://github.com/fail2ban/fail2ban
Merge pull request #906 from leeclemens/BF/755-strptime
Fix strptime thread safety issuepull/915/head
commit
995b1d18df
|
@ -22,6 +22,7 @@ ver. 0.9.2 (2014/XX/XXX) - wanna-be-released
|
|||
details. Thanks bes.internal
|
||||
* filter.d/postfix-sasl.conf - failregex is now case insensitive
|
||||
* filters.d/postfix.conf - add 'Client host rejected error message' failregex
|
||||
* fail2ban/__init__.py - add strptime thread safety hack-around
|
||||
|
||||
- New Features:
|
||||
- New interpolation feature for config readers - `%(known/parameter)s`.
|
||||
|
|
|
@ -68,3 +68,7 @@ logging.notice = _root_notice
|
|||
|
||||
# add NOTICE to the priority map of all the levels
|
||||
logging.handlers.SysLogHandler.priority_map['NOTICE'] = 'notice'
|
||||
|
||||
from time import strptime
|
||||
# strptime thread safety hack-around - http://bugs.python.org/issue7980
|
||||
strptime("2012", "%Y")
|
||||
|
|
Loading…
Reference in New Issue