Purging old entries failed with wrong locale

Bug #814609 reported by efficks
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
denyhosts (Ubuntu)
New
Undecided
Unassigned

Bug Description

If the locale is not en-US the entry purge operation failed :

2011-07-17 08:56:17,878 - denyfileutil: INFO purging entries older than: Sun Jun 19 08:56:17 2011
2011-07-17 08:56:17,965 - denyfileutil: WARNING Parse error -- Ignorning timestamp: Wed Jul 13 23:46:16 2011 for: # DenyHosts: Wed Jul 13 23:46:16 2011 | ALL: 95.171.5.77

2011-07-17 08:56:17,974 - denyfileutil: WARNING exception: a float is required
... (it continues for each entries)

I fixed the problem by writing the timestamp (in seconds) instead of a date/time string. Now it works perfectly on my computer.

Tags: patch
Revision history for this message
efficks (efficks) wrote :
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.