From 8a871793c54dc45bd85fdb1b98f51bbfad3a25a2 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 15 Feb 2020 20:03:46 +0100 Subject: interface: bond: remove useless for loop on member removal --- scripts/cli/test_interfaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py index 1b775e1fe..712a150c6 100755 --- a/scripts/cli/test_interfaces.py +++ b/scripts/cli/test_interfaces.py @@ -108,9 +108,9 @@ class BondInterfaceTest(BasicInterfaceTest.BaseTest): self.session.commit() - for intf in self._interfaces: - self.session.delete(self._base_path + [intf, 'member']) + # check if member deletion works as expected + self.session.delete(self._base_path + [intf, 'member']) self.session.commit() -- cgit v1.2.3