Skip to content

Commit

Permalink
removing trace
Browse files Browse the repository at this point in the history
  • Loading branch information
seperman committed Nov 14, 2023
1 parent 32182c8 commit d5b66b7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions deepdiff/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,6 @@ def _do_item_added(self, items, sort=True, insert=False):
else:
items = items.items()

# if getattr(self, 'DEBUG', None):
# import pytest; pytest.set_trace()

for path, new_value in items:
elem_and_details = self._get_elements_and_details(path)
if elem_and_details:
Expand Down Expand Up @@ -507,8 +504,6 @@ def _do_item_removed(self, items):
"""
# Sorting the iterable_item_removed in reverse order based on the paths.
# So that we delete a bigger index before a smaller index
# if hasattr(self, 'DEBUG'):
# import pytest; pytest.set_trace()
for path, expected_old_value in sorted(items.items(), key=self._sort_key_for_item_added, reverse=True):
elem_and_details = self._get_elements_and_details(path)
if elem_and_details:
Expand Down

0 comments on commit d5b66b7

Please sign in to comment.