oop
This commit is contained in:
parent
1655dd1e89
commit
87dfe6a543
@ -101,7 +101,7 @@ class Assignment(object):
|
||||
family = socket.AF_INET6,
|
||||
scope = 253)[0]['attrs']
|
||||
addrs = dict(ll)['IFA_ADDRESS']
|
||||
logger.debug('Link-Local address for {0}: {1}'.format(addrs))
|
||||
logger.debug('Link-Local address for {0}: {1}'.format(addrs, addrs))
|
||||
if isinstance(addrs, (list, tuple)):
|
||||
addr = addrs[0]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user