Univention Bugzilla – Attachment #10590: Patch by phahn for bug #52576
object.options.append(option)
for option in parsed_remove_options:
try:
object.option.remove(option)
object.options.remove(option)
except ValueError:
pass