fix fast_archive unhashable type list error

XMLWordPrintableJSON

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

      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
            Reporter:
            Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: