Remove redundant check in signals.py #14119
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
Proposed Changes
https://github.com/netbox-community/netbox/blob/develop/netbox/extras/signals.py#L66
if hasattr(instance, 'to_objectchange'):
is redundant as it is already checked in line 45Justification
Line is redundant as it is checked for earlier in the function.
The text was updated successfully, but these errors were encountered: