Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-82770

fix fast_archive unhashable type list error

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL

      2 days ago I made a change where I start ensuring paths are files before being processed. At the very end I tried to fix linting by going from 

      set([path for path in glob.glob(pattern) if os.path.isfile(path)])
      to

      {[path for path in glob.glob(pattern) if os.path.isfile(path)]}

      and only ran pylinters to ensure this was okay. This was not okay and it should actually be 

      {path for path in glob.glob(pattern) if os.path.isfile(path)}

       
      It is a good thing we have alerts for this now.

            Assignee:
            trevor.guidry@mongodb.com Trevor Guidry
            Reporter:
            trevor.guidry@mongodb.com Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: