Re: [PATCH rhel6-branch master] Don't crash when putting mpath devices into the filter name cache (#597223).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> @@ -457,6 +469,11 @@ class FilterWindow(InstallWindow):
>          self._cachedMPaths.extend(mpaths)
>          self._cachedRaidDevices.extend(raids)
>  
> +        # And then we need to do the same list flattening trick here as in
> +        # getScreen.
> +        lst = list(itertools.chain(*mpaths))
> +        self._cachedMPaths.extend(lst)
> +
>      def _makeBasic(self):
>          np = NotebookPage(self.store, "basic", self.xml, Callbacks(self.xml))
>  

In IRC, Brian pointed out I need to remove the top
self._cachedMPaths.extend call, so I've done that.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux