398
398
with person_logged_in(duplicate_bug.owner):
399
399
duplicate_bug.markAsDuplicate(bug)
400
400
# We unsubscribe the owner of the duplicate to avoid muddling
402
402
duplicate_bug.unsubscribe(
403
403
duplicate_bug.owner, duplicate_bug.owner)
404
404
for level in BugNotificationLevel.items: