RF: COND_FAMILIES - use tuple

no need for a dict where tuple would be preferable (deterministic order)
pull/2027/head
Yaroslav Halchenko 2018-01-22 21:08:39 -05:00
parent a45488465e
commit af2de7ff2f
1 changed files with 1 additions and 1 deletions

View File

@ -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):