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

Metadata.unset should not raise KeyError

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0b1
    • Component/s: Other, Plugins API
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                2.4.0b1