Skip to content
Snippets Groups Projects

Fix #296, don't remove elements with referenced children

Open Imported Jonathan Neuhauser requested to merge github/fork/joneuhauser/fix-296 into master

Created by: joneuhauser

Before adding an element to the list of to-be-removed-elements, we need to check if a child of this element is in the list of referenced IDs.

Closes #296

Added a unit test; the existing unit tests are working. Also flake-8 doesn't complain about the newly-added code.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading