From d7fc54adf4176264bd680bd91dc45812a6417e28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Wed, 29 May 2024 13:16:55 +0200
Subject: [PATCH] remove unnecessary statement

---
 src/caoscrawler/sync_graph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/caoscrawler/sync_graph.py b/src/caoscrawler/sync_graph.py
index 1ff8dc3e..f815025a 100644
--- a/src/caoscrawler/sync_graph.py
+++ b/src/caoscrawler/sync_graph.py
@@ -341,7 +341,7 @@ class SyncGraph():
                 node, self.backward_references_backref[id(node)])
         node.identifiable = identifiable
         equivalent_se = self.get_equivalent(node)
-        if equivalent_se is not None and equivalent_se is not node:
+        if equivalent_se is not None:
             self._merge_into(node, equivalent_se)
         else:
             if node.identifiable.get_representation() in self._identifiable_look_up:
-- 
GitLab