From: Nicolas Emiliani Date: Mon, 12 Nov 2007 13:36:33 +0000 (-0300) Subject: Make up. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/6fec86eba68cedb256500b02e0c0d11b44e24bf9?ds=inline;hp=-c Make up. --- 6fec86eba68cedb256500b02e0c0d11b44e24bf9 diff --git a/pymin/services/util.py b/pymin/services/util.py index 739b109..867b3b9 100644 --- a/pymin/services/util.py +++ b/pymin/services/util.py @@ -216,9 +216,8 @@ def get_network_devices(): d[name].addrs[from_addr] = Address(from_addr,24, peer=to_addr) except IndexError: pass - return d - + def get_peers(): p = subprocess.Popen(('ip', '-o', 'addr'), stdout=subprocess.PIPE, close_fds=True)