RF: COND_FAMILIES - use tuple

no need for a dict where tuple would be preferable (deterministic order)
pull/2027/head
Yaroslav Halchenko 7 years ago
parent a45488465e
commit af2de7ff2f

@ -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…
Cancel
Save