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 886071 Details for
Bug 1058297
SystemError: error return without exception set
[?]
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]
proposed patch from the version 5 of the updates.img
0001-Remove-problematic-buffer-size-specification-in-open.patch (text/plain), 940 bytes, created by
Vratislav Podzimek
on 2014-04-14 08:59:14 UTC
(
hide
)
Description:
proposed patch from the version 5 of the updates.img
Filename:
MIME Type:
Creator:
Vratislav Podzimek
Created:
2014-04-14 08:59:14 UTC
Size:
940 bytes
patch
obsolete
>From 6a6bec405c6be808d54170e7d504d41e2a8ef8c1 Mon Sep 17 00:00:00 2001 >From: Vratislav Podzimek <vpodzime@redhat.com> >Date: Mon, 14 Apr 2014 10:39:11 +0200 >Subject: [PATCH] Remove problematic buffer size specification in open() > (#1058297) > >We can leave that decision to Python/OS and just read data in chunks as we do >few lines below. > >Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com> >--- > yum/misc.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/yum/misc.py b/yum/misc.py >index cdc08a0..6850ae2 100644 >--- a/yum/misc.py >+++ b/yum/misc.py >@@ -351,7 +351,7 @@ def checksum(sumtype, file, CHUNK=2**16, datasize=None): > if type(file) not in types.StringTypes: > fo = file # assume it's a file-like-object > else: >- fo = open(file, 'r', CHUNK) >+ fo = open(file, 'r') > > data = Checksums([sumtype]) > while data.read(fo, CHUNK): >-- >1.9.0 >
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 1058297
:
856051
|
856052
|
856053
|
856054
|
856055
|
856056
|
856057
|
856058
|
856059
|
856060
|
856061
|
873363
|
883935
|
885359
|
885360
|
885361
|
885362
|
885363
|
885364
|
885366
| 886071