New: [rhinstaller/blivet/pulls/112 master] Beware of Python 3's version of the map() built-in function

vpodzime installerbot-noreply at redhat.com
Mon May 11 12:50:07 UTC 2015


It not only returns an iterator in Python 3, it actually works in the lazy
evaluation fashion. So if its returned value is not iterated over, the passed
function is not called on the iterable's items. Let's use a for cycle in these
places to make the iteration and function calls explicit.
-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/112


More information about the anaconda-patches mailing list