removed obsolete trunk (perl)
This commit is contained in:
parent
80337411ae
commit
35e3d314ca
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue