From: <los...@us...> - 2009-02-08 19:50:48
|
Revision: 729 http://fail2ban.svn.sourceforge.net/fail2ban/?rev=729&view=rev Author: lostcontrol Date: 2009-02-08 19:50:44 +0000 (Sun, 08 Feb 2009) Log Message: ----------- - Use timetuple instead of utctimetuple for ISO 8601. Maybe not a 100% correct fix but seems to work. Tracker #2500276. Modified Paths: -------------- branches/FAIL2BAN-0_8/ChangeLog branches/FAIL2BAN-0_8/server/datetemplate.py Modified: branches/FAIL2BAN-0_8/ChangeLog =================================================================== --- branches/FAIL2BAN-0_8/ChangeLog 2009-02-08 17:31:24 UTC (rev 728) +++ branches/FAIL2BAN-0_8/ChangeLog 2009-02-08 19:50:44 UTC (rev 729) @@ -35,6 +35,8 @@ Debian bug #513953. - Changed <HOST> template to be more restrictive. Debian bug #514163. +- Use timetuple instead of utctimetuple for ISO 8601. Maybe + not a 100% correct fix but seems to work. Tracker #2500276. ver. 0.8.3 (2008/07/17) - stable ---------- Modified: branches/FAIL2BAN-0_8/server/datetemplate.py =================================================================== --- branches/FAIL2BAN-0_8/server/datetemplate.py 2009-02-08 17:31:24 UTC (rev 728) +++ branches/FAIL2BAN-0_8/server/datetemplate.py 2009-02-08 19:50:44 UTC (rev 729) @@ -187,5 +187,5 @@ if dateMatch: # Parses the date. value = dateMatch.group() - date = list(iso8601.parse_date(value).utctimetuple()) + date = list(iso8601.parse_date(value).timetuple()) return date This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |