From 214268f80d89d279be7fb046f7fa3bde048af793 Mon Sep 17 00:00:00 2001 From: Sean Finney Date: Sun, 26 Jul 2009 13:28:10 +0200 Subject: changes to work with >> lenny versions of reprepro and python-debian reprepro now seems to default to passching the lists files uncompressed to the hook, so we deal with that gracefully either way. python-debian seems to have slightly changed how it handles some multiline fields due to starting to use the built-in apt_pkg module, see the comments in Conf.py which should point to the bug. --- patchtracker/Conf.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'patchtracker/Conf.py') diff --git a/patchtracker/Conf.py b/patchtracker/Conf.py index df6eecd..beb2b71 100755 --- a/patchtracker/Conf.py +++ b/patchtracker/Conf.py @@ -8,6 +8,14 @@ root_url = '' database = 'pt.db' sqlschema = 'db.sql' +use_apt_pkg = None +""" should we instruct (>= v0.1.12) python-debian to use the faster + apt_pkg module for parsing? apt_pkg currently doesn't work on + some multilined values (see #538376) so if it's available we have + to explicitly disable it for now. To do so set this variable + to False instead of None +""" + try: from localconfig import * except ImportError: -- cgit v1.2.3