Re: [PATCH 3/4] Fix result of updateSysfsPath to be consistent with initial sysfsPath values

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

 



> Initial sysfsPath values as passed into __init__ at Device creation do not
> start with /sys and are canonalized. This patch fixes the various
> updateSysfsPath methods to set the sysfsPath attribute to a new value
> consistent with this.

Looks fine.

Joel - this is due to the stupidness of os.path.join, which will throw
out everything it's seen before if a later component starts with a /.

- 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