The iface class appears to have a remove_network_profile() function that, I assume, is the opposite of add_network_profile() and removes a single profile. It seems to have two problems:
it takes keyword arguments that are unspecified so eg. remove_network_profile(profile) fails, because it only takes one positional argument (which is self), but I have no idea what the argument name is (name=? profile=?)
it is connected to a function in the underlying class that doesn't exist in any implementation, so calling it with the correct signature would fail anyway
I don't know enough about the underlying implementations to craft a fix, but given a little info I might be able to create a PR.
The
iface
class appears to have aremove_network_profile()
function that, I assume, is the opposite ofadd_network_profile()
and removes a single profile. It seems to have two problems:it takes keyword arguments that are unspecified so eg.
remove_network_profile(profile)
fails, because it only takes one positional argument (which isself
), but I have no idea what the argument name is (name=
?profile=
?)it is connected to a function in the underlying class that doesn't exist in any implementation, so calling it with the correct signature would fail anyway
I don't know enough about the underlying implementations to craft a fix, but given a little info I might be able to create a PR.