diff --git a/src/gen/lib/notebase.py b/src/gen/lib/notebase.py index e7b86189c..06c6c5f87 100644 --- a/src/gen/lib/notebase.py +++ b/src/gen/lib/notebase.py @@ -84,7 +84,8 @@ class NoteBase(object): """ if handle in self.note_list: self.note_list.remove(handle) - map(item.remove_note, self.get_note_child_list()) + for item in self.get_note_child_list(): + item.remove_note(handle) def get_note_child_list(self): """