Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the return of findActiveDevicesOnActionDisks() properly
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'
- Loading branch information