diff --git a/pythonrewrite/plugins/network/network.py b/pythonrewrite/plugins/network/network.py index 405b4c5..5d6d0d2 100644 --- a/pythonrewrite/plugins/network/network.py +++ b/pythonrewrite/plugins/network/network.py @@ -85,7 +85,6 @@ class network(CryptoBoxPlugin.CryptoBoxPlugin): root_action_plug.IFCONFIG_BIN, root_action_plug.IFACE]) (stdout, stderr) = proc.communicate() - (output, error) = proc.communicate() if proc.returncode != 0: return (0,0,0,0) ## 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)