From db4c2c849501bd6eea34d17ff6ac393deee2b24c Mon Sep 17 00:00:00 2001 From: Harshad Date: Thu, 28 Mar 2024 11:01:35 -0500 Subject: [PATCH] `EdgeCreation` object has `about_edge` == None (#729) * `EdgeCreation` object has `about_edge` == None * redundancy removed --- src/oaklib/interfaces/differ_interface.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/oaklib/interfaces/differ_interface.py b/src/oaklib/interfaces/differ_interface.py index 3722c78bc..36e939922 100644 --- a/src/oaklib/interfaces/differ_interface.py +++ b/src/oaklib/interfaces/differ_interface.py @@ -389,10 +389,7 @@ def diff_summary( if isinstance(change, kgcl.NodeChange): about = change.about_node elif isinstance(change, kgcl.EdgeChange): - if isinstance(change, kgcl.EdgeDeletion): - about = change.subject - else: - about = change.about_edge.subject + about = change.subject else: about = None partition = RESIDUAL_KEY