Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 240551 Details for
Bug 330307
sys-apps/yum-3.2.27-r1 fails to run `TypeError: unknown key type`
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
TypeError-fix patch for yum-3.2.27-r1
yum-3.2.27-typeerror-fix.patch (text/plain), 1.11 KB, created by
Tommi Asp
on 2010-07-29 07:58:28 UTC
(
hide
)
Description:
TypeError-fix patch for yum-3.2.27-r1
Filename:
MIME Type:
Creator:
Tommi Asp
Created:
2010-07-29 07:58:28 UTC
Size:
1.11 KB
patch
obsolete
>diff -U 3 -H -b -B -d -r -N -- yum-3.2.27/yum/rpmsack.py yum-3.2.27fixtypeerror/yum/rpmsack.py >--- yum-3.2.27/yum/rpmsack.py 2010-03-04 03:10:20.000000000 +0200 >+++ yum-3.2.27fixtypeerror/yum/rpmsack.py 2010-07-28 15:00:06.555331152 +0300 >@@ -236,7 +236,7 @@ > # check provides > tag = self.DEP_TABLE['provides'][0] > mi = ts.dbMatch() >- mi.pattern(tag, rpm.RPMMIRE_GLOB, name) >+ mi.pattern(tag, rpm.RPMMIRE_GLOB, name.encode('us-ascii')) > for hdr in mi: > if hdr['name'] == 'gpg-pubkey': > continue >@@ -261,7 +261,7 @@ > ts = self.readOnlyTS() > result = {} > >- mi = ts.dbMatch('basenames', name) >+ mi = ts.dbMatch('basenames', name.encode('us-ascii')) > for hdr in mi: > if hdr['name'] == 'gpg-pubkey': > continue >@@ -975,6 +975,8 @@ > > ts = self.readOnlyTS() > if name is not None: >+ if type(name) == type(u''): >+ name = name.encode('utf8') > mi = ts.dbMatch('name', name) > elif arch is not None: > mi = ts.dbMatch('arch', arch)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 330307
: 240551