New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix strptime thread safety issue #906

Merged
merged 6 commits into from Jan 8, 2015
View
@@ -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`.
View
@@ -68,3 +68,7 @@ def _root_notice(msg, *args, **kwargs):
# 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")
ProTip! Use n and p to navigate between commits in a pull request.