X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/6fec86eba68cedb256500b02e0c0d11b44e24bf9..09ea1d35ebdfec884409a2e567946464822a1cd3:/pymin/services/util.py?ds=inline diff --git a/pymin/services/util.py b/pymin/services/util.py index 867b3b9..f3bb013 100644 --- a/pymin/services/util.py +++ b/pymin/services/util.py @@ -13,8 +13,8 @@ from pymin.dispatcher import Handler, handler, HandlerError, \ CommandNotFoundError from pymin.seqtools import Sequence -DEBUG = False -#DEBUG = True +#DEBUG = False +DEBUG = True __ALL__ = ('Error', 'ReturnNot0Error', 'ExecutionError', 'ItemError', 'ItemAlreadyExistsError', 'ItemNotFoundError', 'ContainerError', @@ -171,10 +171,11 @@ class Device(Sequence): self.name = name self.mac = mac self.ppp = ppp + self.active = True self.addrs = dict() self.routes = list() def as_tuple(self): - return (self.name, self.mac, self.addrs) + return (self.name, self.mac, self.active, self.addrs)