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 731008 Details for
Bug 947655
patch: typo in traceback handling
[?]
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]
patch to fix the issue
0001-add-patch-to-correct-typo-in-exception-handling.patch (text/plain), 2.33 KB, created by
Thomas Spura
on 2013-04-02 23:39:14 UTC
(
hide
)
Description:
patch to fix the issue
Filename:
MIME Type:
Creator:
Thomas Spura
Created:
2013-04-02 23:39:14 UTC
Size:
2.33 KB
patch
obsolete
>From 3aae42337e09ae1967e4ce6775923fc9426c619c Mon Sep 17 00:00:00 2001 >From: Thomas Spura <thomas.spura@gmail.com> >Date: Wed, 3 Apr 2013 01:35:49 +0200 >Subject: [PATCH] add patch to correct typo in exception handling > >--- > pyparsing-1.5.6-traceback-typo.patch | 11 +++++++++++ > pyparsing.spec | 7 ++++++- > 2 files changed, 17 insertions(+), 1 deletion(-) > create mode 100644 pyparsing-1.5.6-traceback-typo.patch > >diff --git a/pyparsing-1.5.6-traceback-typo.patch b/pyparsing-1.5.6-traceback-typo.patch >new file mode 100644 >index 0000000..ee1b44e >--- /dev/null >+++ b/pyparsing-1.5.6-traceback-typo.patch >@@ -0,0 +1,11 @@ >+--- pyparsing_py3.py.orig 2013-04-03 01:28:01.927400414 +0200 >++++ pyparsing_py3.py 2013-04-03 01:28:23.903443448 +0200 >+@@ -891,7 +891,7 @@ >+ ParserElement._exprArgCache[ lookup ] = (value[0],value[1].copy()) >+ return value >+ except ParseBaseException as pe: >+- exc.__traceback__ = None >++ pe.__traceback__ = None >+ ParserElement._exprArgCache[ lookup ] = pe >+ raise >+ >diff --git a/pyparsing.spec b/pyparsing.spec >index 6104863..e2c58a0 100644 >--- a/pyparsing.spec >+++ b/pyparsing.spec >@@ -6,12 +6,13 @@ > > Name: pyparsing > Version: 1.5.6 >-Release: 7%{?dist} >+Release: 8%{?dist} > Summary: An object-oriented approach to text processing > Group: Development/Libraries > License: MIT > URL: http://pyparsing.wikispaces.com/ > Source0: http://downloads.sourceforge.net/pyparsing/pyparsing-%{version}.tar.gz >+Patch0: pyparsing-1.5.6-traceback-typo.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > BuildArch: noarch > >@@ -48,6 +49,7 @@ This is the Python 3 version. > > %prep > %setup -q >+%patch0 > mv docs/pyparsingClassDiagram.PNG docs/pyparsingClassDiagram.png > rm docs/pyparsingClassDiagram.JPG > dos2unix -k CHANGES LICENSE >@@ -113,6 +115,9 @@ rm -rf %{buildroot} > %doc CHANGES README LICENSE docs/* > > %changelog >+* Wed Apr 3 2013 Thomas Spura <tomspur@fedoraproject.org> - 1.5.6-8 >+- add patch to correct typo in exception handling >+ > * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-7 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild > >-- >1.8.1.4 >
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 947655
: 731008