Skip to content

Commit fa76ba6

Browse files
committed
amended the previously missed Bigip_Failover_State class to inherit from ResourceBase. Minor code change to rectify travis error
1 parent 9f953d2 commit fa76ba6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

f5/bigip/resource.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,10 @@ def _check_exclusive_parameters(self, **kwargs):
315315
ex_set = set(self._meta_data['exclusive_attributes'][0])
316316
common_set = attr_set.intersection(ex_set)
317317
if len(common_set) > 1:
318+
cset = ', '.join(common_set)
318319
error = 'Mutually exclusive arguments submitted. ' \
319320
'The following arguments cannot be set ' \
320-
'together: "{}".'.format(', '.join(common_set))
321+
'together: "%s".' % cset
321322
raise ExclusiveAttributesPresent(error)
322323

323324
@staticmethod

0 commit comments

Comments
 (0)