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

Refactor script.py to avoid code duplication

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.1
    • 2.0.4
    • Scripting
    • None

      script.py currently contains code like

      if name.startswith("_"):
      name = "~" + name[1:]

      everywhere variables are used to access metadata. Maybe we can refactor this to have the name conversion happen at a more central place.

      See discussion at https://github.com/metabrainz/picard/pull/970

            zas Zas
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.1