Package: fail2ban
Version: 0.8.13-1
Severity: normal

Dear Maintainer,

I think the error is still present.
I'm wondering that the bug is not listed in https://bugs.debian.org/fail2ban.
Please Merge the attached patch.

Best Regards,
Basti

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- a/filterpyinotify.py	2014-03-15 00:00:00.000000000 +0100
+++ b/filterpyinotify.py	2016-06-08 22:09:37.000000000 +0200
@@ -32,6 +32,10 @@
 from filter import FileFilter
 from mytime import MyTime
 
+# Fix bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775272
+from time import strptime
+# strptime thread safety hack-around - http://bugs.python.org/issue7980
+strptime("2012", "%Y")
 
 if not hasattr(pyinotify, '__version__') \
   or LooseVersion(pyinotify.__version__) < '0.8.3':

Reply via email to