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

Squish: Use a set for kits

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.7.1
    • Qt Creator 4.7.1
    • All Other Issues
    • None
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rlohning Robert Löhning
            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