Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 304527 Details for
Bug 445086
viewing update detail unbound local error yumbackend
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A tested patch that fixes this issue
0001-Fix-a-bug-in-the-PackageKitYumBackend._get_update_ex.patch (text/plain), 1.47 KB, created by
Luke Macken
on 2008-05-05 14:54:34 UTC
(
hide
)
Description:
A tested patch that fixes this issue
Filename:
MIME Type:
Creator:
Luke Macken
Created:
2008-05-05 14:54:34 UTC
Size:
1.47 KB
patch
obsolete
>From caae907ade41c04157298c269e2dc4d82e711d69 Mon Sep 17 00:00:00 2001 >From: Luke Macken <lmacken@redhat.com> >Date: Mon, 5 May 2008 10:53:06 -0400 >Subject: [PATCH] Fix a bug in the PackageKitYumBackend._get_update_extras method, caused by > some improper tab->whitespace conversion (Bug #445086) > > >diff --git a/backends/yum/helpers/yumBackend.py b/backends/yum/helpers/yumBackend.py >index d5be742..c04c067 100644 >--- a/backends/yum/helpers/yumBackend.py >+++ b/backends/yum/helpers/yumBackend.py >@@ -1379,14 +1379,13 @@ class PackageKitYumBackend(PackageKitBaseBackend): > if refs: > for ref in refs: > typ = ref['type'] >- href = ref['href'] >- title = ref['title'] >- if typ in ('bugzilla','cve') and href != None: >- if title == None: >- title = "" >- urls[typ].append("%s;%s" % (href,title)) >- else: >- urls['vendor'].append("%s;%s" % (ref['href'],ref['title'])) >+ href = ref['href'] >+ title = ref['title'] or "" >+ if href: >+ if typ in ('bugzilla','cve'): >+ urls[typ].append("%s;%s" % (href,title)) >+ else: >+ urls['vendor'].append("%s;%s" % (href,ref['title'])) > > # Reboot flag > if notice.get_metadata().has_key('reboot_suggested') and notice['reboot_suggested']: >-- >1.5.4.5 >
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 445086
:
304449
|
304472
| 304527