mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
Fast HTML to text parser (article readability tool). PR: 273553 Approved by: zirias (mentor) Differential Revision: https://reviews.freebsd.org/D41813
11 lines
450 B
Python
11 lines
450 B
Python
Disable some python-2.x code with invalid syntax in python-3.x.
|
|
|
|
--- readability/compat/two.py.orig 2020-07-03 23:38:42 UTC
|
|
+++ readability/compat/two.py
|
|
@@ -2,5 +2,5 @@ def raise_with_traceback(exc_type, traceback, *args, *
|
|
"""
|
|
Raise a new exception of type `exc_type` with an existing `traceback`. All
|
|
additional (keyword-)arguments are forwarded to `exc_type`
|
|
- """
|
|
raise exc_type(*args, **kwargs), None, traceback
|
|
+ """
|