1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Changelog for #2944

This commit is contained in:
Jeremy Stretch
2019-03-07 14:08:36 -05:00
parent 4334f1bc65
commit 7a8fc8dfd5
2 changed files with 3 additions and 2 deletions

View File

@@ -635,8 +635,8 @@ class IPAddress(ChangeLoggedModel, CustomFieldModel):
Include the connected Interface (if any).
"""
# It's possible that an IpAddress can be deleted _after_ its parent Interface, in which case trying to resolve
# the component parent will raise DoesNotExist.
# It's possible that an IPAddress can be deleted _after_ its parent Interface, in which case trying to resolve
# the interface will raise DoesNotExist.
try:
parent_obj = self.interface
except ObjectDoesNotExist: