Skip to content

Commit d5da755

Browse files
committed
removed problematic update part
1 parent 6a7a278 commit d5da755

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

quit/graphs.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,18 @@ def __repr__(self):
118118
len((c for c in self.graphs() if c not in self.store.contexts()))
119119
)
120120

121-
def update(self, update_object):
122-
comp_graphA = ComparableGraph(self.store)
123-
comp_graphB = ComparableGraph(self.store)
124-
answer = comp_graphB.update(update_object)
125-
diff_tupel = comp_graphA.diff(comp_graphB)
126-
for removeGraph in diff_tupel[1]:
127-
for triple in removeGraph:
128-
self.remove(triple)
129-
for additionalGraph in diff_tupel[0]:
130-
for triple in additionalGraph:
131-
self.add(additionalGraph)
132-
return answer
121+
#def update(self, update_object):
122+
# comp_graphA = ComparableGraph(self.store)
123+
# comp_graphB = ComparableGraph(self.store)
124+
# answer = comp_graphB.update(update_object)
125+
# diff_tupel = comp_graphA.diff(comp_graphB)
126+
# for removeGraph in diff_tupel[0]:
127+
# for triple in removeGraph:
128+
# self.remove(triple)
129+
# for additionalGraph in diff_tupel[1]:
130+
# for triple in additionalGraph:
131+
# self.add(additionalGraph)
132+
# return answer
133133

134134
def _graph(self, c):
135135
if c is None:

0 commit comments

Comments
 (0)