mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
TST: table create definitations to end in ; for py26 compatibility
This commit is contained in:
parent
ec31e6a702
commit
41bd0470bd
1 changed files with 2 additions and 1 deletions
|
|
@ -57,7 +57,8 @@ def commitandrollback(f):
|
|||
|
||||
class Fail2BanDb(object):
|
||||
__version__ = 2
|
||||
_TABLE_fail2banDb = "CREATE TABLE fail2banDb(version INTEGER)"
|
||||
# Note all _TABLE_* strings must end in ';' for py26 compatibility
|
||||
_TABLE_fail2banDb = "CREATE TABLE fail2banDb(version INTEGER);"
|
||||
_TABLE_jails = "CREATE TABLE jails(" \
|
||||
"name TEXT NOT NULL UNIQUE, " \
|
||||
"enabled INTEGER NOT NULL DEFAULT 1" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue