RF: COND_FAMILIES - use tuple

no need for a dict where tuple would be preferable (deterministic order)
This commit is contained in:
Yaroslav Halchenko 2018-01-22 21:08:39 -05:00
parent a45488465e
commit af2de7ff2f

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