CommandNotFoundError
from pymin.seqtools import Sequence
-DEBUG = False
-#DEBUG = True
+#DEBUG = False
+DEBUG = True
__ALL__ = ('Error', 'ReturnNot0Error', 'ExecutionError', 'ItemError',
'ItemAlreadyExistsError', 'ItemNotFoundError', 'ContainerError',
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)