Comment 13 for bug 18125

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote :

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

$