flake8 cleanup

master
Justin Riley 2016-07-14 23:15:52 -04:00
parent fd5f3d7077
commit 3ceb81545d
1 changed files with 3 additions and 2 deletions

View File

@ -46,5 +46,6 @@ class SkyDNSClient(object):
primary_ip = vm.template.nics[0].ip
self.add_host(hostname, primary_ip)
for nic in vm.template.nics[1:]:
nicname = "{hostname}-{id}".format(hostname=hostname, id=nic.nic_id)
nicname = "{hostname}-{id}".format(hostname=hostname,
id=nic.nic_id)
self.add_host(nicname, nic.ip)