lol broke logging

This commit is contained in:
brent s. 2020-05-18 06:32:35 -04:00
parent 3d238dda22
commit 8ad2fbff22
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -128,7 +128,7 @@ class Assignment(object):
def parse_alloc(self):
self.alloc_block = self.alloc.ip.alloc_block
self.iface_blocks = self.alloc_block.extract_subnet(self.prefix, count = 1)
logger.debug('Allocation blocks for {0}: {1}'.format(self.iface, ','.join(self.iface_blocks)))
logger.debug('Allocation blocks for {0}: {1}'.format(self.iface, ','.join([str(i) for i in self.iface_blocks])))
for i in self.iface_blocks:
# DHCPv6 range.
_base = str(i.ip).rstrip(':')