1
0
Fork 0
mirror of https://github.com/ethauvin/fail2ban-digest.git synced 2025-04-26 19:08:11 -07:00
Commit graph

3 commits

Author SHA1 Message Date
Enrico Tagliavini
0cfe4f940e better handle missing dbm file, print better error
Using the dbm module with autodetection is quite broken. Opening a dbm
file with 'r' flag will raise a useless dbm.error, not inherinting
OSError. The reason for the error is lost. When forcing GNU dbm module a
proper exception is raised.
2017-06-23 11:43:10 +02:00
Enrico Tagliavini
c7ca780df8 use dest argument for add_subparser
Instead of setting the value of cmd arg by default use the dest
variable. Also check if no argument is given on command line
2017-06-23 11:42:53 +02:00
Enrico Tagliavini
3066a12a4f publish to github 2017-06-23 11:42:34 +02:00