Date: Thu, 13 Nov 2003 12:34:43 -0600 From: Jeremy Messenger <mezz7@cox.net> To: Franz Klammer <klammer@webonaut.com> Cc: gnome@freebsd.org Subject: Re: gdesksets/files/patch-libdesklets::Network.py Message-ID: <opryk9v5m88ckrg5@smtp.central.cox.net> In-Reply-To: <3FB3CA31.20309@webonaut.com> References: <3FB3CA31.20309@webonaut.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Nov 2003 19:15:13 +0100, Franz Klammer <klammer@webonaut.com> wrote: > the dedection-code of the network-interfaces in > patch-libdesklets::Network.py is wrong: > > devices = [] > if ("FreeBSD" == platform): > for lines in data: > fields = lines.strip().strip(":") > > if (fields[0] == "lo"): > > corrections: > > devices = [] > if ("FreeBSD" == platform): > for lines in data: > fields = lines.strip().split(":") <== > > if (fields[0][:2] == "lo"): <== > Thanks! Can you tell me which desklet did you test it with? I couldn't test the libdesklets, because of a lot of desklets will not work due to the thread (refresh stuff). Cheers, Mezz > franz -- bsdforums.org 's moderator, mezz.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opryk9v5m88ckrg5>