[PATCH 1/6] Replace our pyudev with the package python-pyudev.
David Lehman
dlehman at redhat.com
Fri Aug 1 02:21:02 UTC 2014
On 07/31/2014 07:23 PM, Brian C. Lane wrote:
> On Thu, Jul 31, 2014 at 06:22:29PM -0500, David Lehman wrote:
>> - if path.startswith("fc-") and "fcoe" in info["sysfs_path"]:
>> - return info["sysfs_path"].split("/")[4].split(".")[0]
>> + if path.startswith("fc-") and "fcoe" in sysfs_path:
>> + return sysfs_path.split("/")[4].split(".")[0]
>>
>> (sysfs_pci, host) = _detect_broadcom_fcoe(info)
>> if (sysfs_pci, host) != (None, None):
>> - net, iface = info['sysfs_path'].split("/")[5:7]
>> + net, iface = sysfs_path.split("/")[5:7]
>
> Shouldn't these indexes be bumped up by 1 for /sys/ now being included?
>
Yes -- fixed locally. Thanks for spotting that.
More information about the anaconda-patches
mailing list