Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-1846

Metadata.unset should not raise KeyError

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.4.0b1
    • None
    • Other, Plugins API
    • None

      Having Metadata.unset raise an KeyError is kind of unexpected, especially as other operations like Metadata.get or Metadata.delete don't do this.

      Update Metadata.unset to always succeed, even for unknown values.

            outsidecontext Philipp Wolfer
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                2.4.0b1