2009/9/16 Flavio Silvestrow <[email protected]>: > > ---
Which problem? > --- a/lib/networktables.py > +++ b/lib/networktables.py > + # This command returns an error when asked to remove a non-existent > + # address. We don't care about that, so no need to raise an error > + # here. > + cmd = 'ip %s del %s dev %s' % (context, ip_address, iface) > + result = utils.RunCmd(cmd) Use a list with RunCmd (utils.RunCmd(["ip", context, "del", …])). Why aren't you checking the result? Regards, Michael
