Re: [PATCH 1/3] Add function storage.udev.udev_resolve_devspec.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> +        else:
>> +            if udev_device_get_name(dev) == os.path.basename(devspec):
>> +                ret = dev
>> +                break
>> +
>
> I believe this should be:
>
>             if udev_device_get_name(dev) == devices.devicePathToName(devspec):

Yeah if you look at the second patch in the code that
udev_resolve_devspec replaces, you'll see it was doing devicePathToName.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux