[PATCH 1/3] When handling hidden devices in getDeviceBy*, don't use +=.
Chris Lumens
clumens at redhat.com
Tue May 21 19:26:11 UTC 2013
> diff --git a/blivet/devicetree.py b/blivet/devicetree.py
> index 691f1b2..d32f09e 100644
> --- a/blivet/devicetree.py
> +++ b/blivet/devicetree.py
> @@ -1914,9 +1914,10 @@ class DeviceTree(object):
> return None
>
> found = None
> - devices = self._devices
> if hidden:
> - devices += self._hidden
> + devices = self._devices + self._hidden
> + else:
> + devices += self._devices
Missed one here. I'll fix it locally before pushing.
- Chris
More information about the anaconda-patches
mailing list