1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Author: Henry-Nicolas Tourneur <debian@nilux.be>
Description: The compatibility helper support both py2 and 3 versions while the
py2 compatibility code causes a syntax error during compilation time.
The whole compatibility module is removed to address this syntax issue.
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/readability/compat/two.py
+++ b/readability/compat/two.py
@@ -1,6 +0,0 @@
-def raise_with_traceback(exc_type, traceback, *args, **kwargs):
- """
- 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
|