[PATCH 1/5] Replace our pyudev with the package python-pyudev.
Brian C. Lane
bcl at redhat.com
Thu Jul 31 23:37:42 UTC 2014
On Tue, Jul 29, 2014 at 01:10:58PM -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 now that /sys/ is in the path?
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list