[PATCH 1/6] Replace our pyudev with the package python-pyudev.
Brian C. Lane
bcl at redhat.com
Fri Aug 1 00:23:41 UTC 2014
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?
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list