[Yum] Regarding the insert/append bug

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

 



Is there any reason yum maintains its own lib path instead of just
installing libraries in it's own yum namespace in the standard sys.path?

On Fri, 2002-12-13 at 13:48, Joe Cooper wrote:
> Hi Seth and all,
> 
> I've upgraded to the latest snapshot on a Red Hat 7.2 and Red Hat 8.0 
> box (both fully erratified)...and this change is causing problems on 
> both of them:
> 
> 2002-12-05 13:00  skvidal
> 
> 	* bin/: yum, yum-arch:
> 	fix append vs insert to avoid namespace collision
> 
> I get the following error on the 7.2 server:
> 
> Traceback (innermost last):
>    File "/usr/sbin/yum-arch", line 21, in ?
>      sys.path.insert('/usr/lib/yum')
> TypeError: 2-sequence, 12-sequence
> 
> Or the following error on the 8.0 client:
> 
> Traceback (most recent call last):
>    File "/usr/bin/yum", line 21, in ?
>      sys.path.insert('/usr/lib/yum')
> TypeError: insert() takes exactly 2 arguments (1 given)
> 
> Looks like maybe that line should be:
> 
> sys.path.insert(0,'/usr/lib/yum')
> 
> (I'm a bit moronic on all things pythonic, so I reserve the right to be 
> wrong.)
-- 
Miles Egan <miles@xxxxxxxxx>



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux