removed obsolete trunk (perl)

This commit is contained in:
lars 2006-11-06 16:04:00 +00:00
parent 80337411ae
commit 35e3d314ca

View file

@ -85,7 +85,6 @@ class network(CryptoBoxPlugin.CryptoBoxPlugin):
root_action_plug.IFCONFIG_BIN, root_action_plug.IFCONFIG_BIN,
root_action_plug.IFACE]) root_action_plug.IFACE])
(stdout, stderr) = proc.communicate() (stdout, stderr) = proc.communicate()
(output, error) = proc.communicate()
if proc.returncode != 0: return (0,0,0,0) if proc.returncode != 0: return (0,0,0,0)
## this regex matches the four numbers of the IP ## this regex matches the four numbers of the IP
match = re.search(u'inet [\w]+:(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\s', stdout) match = re.search(u'inet [\w]+:(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\s', stdout)