mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
RF: COND_FAMILIES - use tuple
no need for a dict where tuple would be preferable (deterministic order)
This commit is contained in:
parent
a45488465e
commit
af2de7ff2f
1 changed files with 1 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ class CommandAction(ActionBase):
|
|||
except ValueError as e:
|
||||
raise RuntimeError("Error %s action %s/%s: %r" % (operation, self._jail, self._name, e))
|
||||
|
||||
COND_FAMILIES = {'inet4':1, 'inet6':1}
|
||||
COND_FAMILIES = ('inet4', 'inet6')
|
||||
|
||||
@property
|
||||
def _startOnDemand(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue