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

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



> @@ -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


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