From 1da80475cabf37da411aff8983d427773cfc0a80 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 26 Aug 2010 14:08:02 +0200 Subject: * tests/test_apt_cache.py: - Do not insert ".." into sys.path, fixes FTBFS --- debian/changelog | 7 +++++++ tests/test_apt_cache.py | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 068cf379..1c9598fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-apt (0.7.97.1) unstable; urgency=low + + * tests/test_apt_cache.py: + - Do not insert ".." into sys.path, fixes FTBFS + + -- Julian Andres Klode Thu, 26 Aug 2010 14:08:01 +0200 + python-apt (0.7.97) unstable; urgency=low [ Julian Andres Klode ] diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py index a43e92d2..81d64bc6 100644 --- a/tests/test_apt_cache.py +++ b/tests/test_apt_cache.py @@ -10,8 +10,9 @@ import os import tempfile import unittest +from test_all import get_library_dir import sys -sys.path.insert(0, "..") +sys.path.insert(0, get_library_dir()) import apt import apt_pkg -- cgit v1.2.3