[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH 1/3] Add function storage.udev.udev_resolve_devspec.
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH 1/3] Add function storage.udev.udev_resolve_devspec.
- Date: Wed, 1 Jul 2009 09:59:43 -0400
>> + 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]