return to previus state

This commit is contained in:
Cayo Puigdefabregas 2021-01-26 12:24:02 +01:00
parent 1e50386b93
commit 9cc82e7a82
1 changed files with 0 additions and 8 deletions

View File

@ -72,7 +72,6 @@ class Sync:
# We only want to perform Add/Remove to not new components
actions = self.add_remove(db_device, not_new_components)
db_device.components = db_components
self.change_parent_actions_components(db_device)
return db_device, actions
def execute_register_component(self,
@ -246,13 +245,6 @@ class Sync:
actions.add(Remove(device=parent, components=set_components))
return actions
@staticmethod
def change_parent_actions_components(device: Computer):
# import pdb; pdb.set_trace()
for c in set(device.components):
for act in c.actions:
act.parent = device
class MismatchBetweenTags(ValidationError):
def __init__(self,