[Yum] Regarding the insert/append bug

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

 



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.)
-- 
Joe Cooper <joe@xxxxxxxxxxxxx>
Web caching appliances and support.
http://www.swelltech.com



[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