Package: gumbo-parser / 0.13.0+dfsg-2

02-circular-dependency.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Importing gumbo in python3 is not possible due to circular
 dependent imports. This patch is fixing this issue.
Bug: https://github.com/google/gumbo-parser/pull/343
Bug-Debian: https://bugs.debian.org/789299
Last-Update: 2015-06-21

--- a/python/gumbo/gumboc.py
+++ b/python/gumbo/gumboc.py
@@ -26,7 +26,7 @@ import sys
 import contextlib
 import ctypes
 import os.path
-import gumboc_tags
+from . import gumboc_tags
 
 DONT_WE_LIKE_PYTHON = sys.version_info[0] == 2