eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 1b036750023c69dedfcefb80e52173c8e6ba4a20
parent ffe9ce80342a39821a6c3b2922183be8a2dfd96a
Author: James Prestwood <prestwoj@gmail.com>
Date:   Mon, 14 Sep 2020 14:02:31 -0700

auto-t: don't clear out rules from hwsim object

This got added in the re-write but a __del__ method was also
added to the Rule class as well. This caused problems if hwsim
cleaned up since it removed the rules, which caused each rule
to call __del__. Since the rule had already been removed there
was no longer a DBus interface which raised an exception.

Diffstat:
Mautotests/util/hwsim.py | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/autotests/util/hwsim.py b/autotests/util/hwsim.py @@ -274,10 +274,6 @@ class Hwsim(iwd.AsyncOpAbstract): self._rules = RuleSet(self, objects) self._radios = RadioList(self, objects) - def __del__(self): - for rule in self._rules.values(): - rule.remove() - @property def rules(self): return self._rules