bites you in the ass. every time.

This commit is contained in:
brent s. 2020-05-18 05:33:57 -04:00
parent 87dfe6a543
commit 7b48e6813c
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class RAConf(object):
for k in ('name', 'dir'):
n = 'tpl_{0}'.format(k)
d = 'def_tpl_{0}'.format(k)
v = locals()[k]
v = locals()[n]
if not v:
setattr(self, n, getattr(self, d))
else:

View File

@ -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, addrs))
logger.debug('Link-Local address for {0}: {1}'.format(self.iface, addrs))
if isinstance(addrs, (list, tuple)):
addr = addrs[0]
else: