diff --git a/ChangeLog b/ChangeLog index ba39d73e..e82d7f3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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`. diff --git a/fail2ban/__init__.py b/fail2ban/__init__.py index cbaaf757..b7906099 100644 --- a/fail2ban/__init__.py +++ b/fail2ban/__init__.py @@ -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")