summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 52c8a21b..5a289f32 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -31,6 +31,10 @@ if os.path.exists("../../build"):
if version in dirname:
sys.path.insert(0, os.path.abspath('../../build/' + dirname))
+# Hack: Disable compatibility mode
+import apt_pkg
+apt_pkg._COMPAT_0_7 = 0
+
# General configuration
# ---------------------