The code is still in 8.04, the package is now called hwdb-client-gnome. The code still has the fault of not coping with `route -n' returning nothing. hwdb-client-gnome 0.6.14.
$ sed -n '/def getroute/,/^$/p' /usr/bin/hwdb-gui
def getroute(self):
for line in os.popen('route -n'):
if line.startswith('0.0.0.0'):
route = string.splitfields(line, ' ')
return route
The code is still in 8.04, the package is now called hwdb-client-gnome. The code still has the fault of not coping with `route -n' returning nothing. hwdb-client-gnome 0.6.14.
$ sed -n '/def getroute/,/^$/p' /usr/bin/hwdb-gui ('0.0.0. 0'): splitfields( line, ' ')
def getroute(self):
for line in os.popen('route -n'):
if line.startswith
route = string.
return route
$