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 304472 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]
An untested patch that may fix the problem.
0001-Fix-some-issues-caused-by-tab-whitespace-conversio.patch (text/plain), 1.57 KB, created by
Luke Macken
on 2008-05-04 01:58:57 UTC
(
hide
)
Description:
An untested patch that may fix the problem.
Filename:
MIME Type:
Creator:
Luke Macken
Created:
2008-05-04 01:58:57 UTC
Size:
1.57 KB
patch
obsolete
>From 79b11a20c7eea4c6f3b36d9e5f1af3fd8e3235da Mon Sep 17 00:00:00 2001 >From: Luke Macken <lmacken@redhat.com> >Date: Sat, 3 May 2008 21:30:20 -0400 >Subject: [PATCH] Fix some issues caused by tab->whitespace conversion (Bug #445086) > > >diff --git a/backends/yum/helpers/yumBackend.py b/backends/yum/helpers/yumBackend.py >index d5be742..f2c3f82 100644 >--- a/backends/yum/helpers/yumBackend.py >+++ b/backends/yum/helpers/yumBackend.py >@@ -1376,17 +1376,15 @@ class PackageKitYumBackend(PackageKitBaseBackend): > desc = notice['description'] > # Update References (Bugzilla,CVE ...) > refs = notice['references'] >- 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'])) >+ for ref in refs: >+ typ = ref['type'] >+ 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,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