Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20874

Squish: Use a set for kits

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.7.1
    • Fix Version/s: Qt Creator 4.7.1
    • Component/s: All Other Issues
    • Labels:
      None
    • Commits:
      21bcc7f38b1a08168f98054358574b21f33b49b6

      Description

      Instead of the repeated

      if kit in kitList:
          kitList.remove(kit)
      

      we could then just use

      kitList.discard(kit)
      

      By definition this is not meant to hold double entries anyway.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-20874
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            rlohning Robert Löhning
            Reporter:
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes