diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-08-26 14:08:02 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-08-26 14:08:02 +0200 |
| commit | 1da80475cabf37da411aff8983d427773cfc0a80 (patch) | |
| tree | f62c9c8e2c850f771fd0fe788ffe2c814988f102 | |
| parent | 0b0ab7a7f24f2d95e68c1e94e27feef7bc0fd13c (diff) | |
| download | python-apt-1da80475cabf37da411aff8983d427773cfc0a80.tar.gz | |
* tests/test_apt_cache.py:
- Do not insert ".." into sys.path, fixes FTBFS
| -rw-r--r-- | debian/changelog | 7 | ||||
| -rw-r--r-- | tests/test_apt_cache.py | 3 |
2 files changed, 9 insertions, 1 deletions
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 <jak@debian.org> 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 |
