summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-06-05 15:24:39 +0200
committerJulian Andres Klode <jak@debian.org>2009-06-05 15:24:39 +0200
commit5160ad8b3f71cb256e62bab5fc532d3d73b2f7b4 (patch)
treec40f06391f735cea220c8a318ceb8c006b17197b /doc
parent14dfadc054e9bdafd2507dbca70dbec925471ae0 (diff)
downloadpython-apt-5160ad8b3f71cb256e62bab5fc532d3d73b2f7b4.tar.gz
doc/source/conf.py: Force compatibility to be off when creating documentation.
Diffstat (limited to 'doc')
-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
# ---------------------