From 5160ad8b3f71cb256e62bab5fc532d3d73b2f7b4 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 5 Jun 2009 15:24:39 +0200 Subject: doc/source/conf.py: Force compatibility to be off when creating documentation. --- doc/source/conf.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 # --------------------- -- cgit v1.2.3