New: [rhinstaller/blivet/pulls/119 rhel7-branch] Use the return of findActiveDevicesOnActionDisks() properly

mopsfelder installerbot-noreply at redhat.com
Wed May 20 20:44:43 UTC 2015


The function findActiveDevicesOnActionDisks() does return a list of
device names, i.e. a list of strings, not a list of devices.

Without this fix, an AttributeError is throwned before the RuntimeError,
see:

  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 354, in processActions
    self._preProcessActions()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 258, in _preProcessActions
    ",".join(p.name for p in problematic))
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 258, in <genexpr>
    ",".join(p.name for p in problematic))
AttributeError: 'str' object has no attribute 'name'
-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/119


More information about the anaconda-patches mailing list