mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-14 16:47:02 +02:00
Clean up unused string initialization
This commit is contained in:
parent
fbbde98409
commit
61d6dda59f
1 changed files with 0 additions and 1 deletions
|
@ -259,7 +259,6 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
for host in hosts:
|
||||
# can remove str conversion when EPP.IP address display changes from IP object -> IP address
|
||||
host_addrs_stringified = [str(addr) for addr in host["addrs"]]
|
||||
host_addrs_str = ""
|
||||
host_addrs_str = f'({", ".join(obj for obj in host_addrs_stringified)})'
|
||||
host_info_str = f'{host["name"]} {host_addrs_str if len(host["addrs"]) > 0 else ""}'
|
||||
hostList.append(host_info_str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue