diff options
| -rw-r--r-- | apt/cache.py | 3 | ||||
| -rw-r--r-- | debian/changelog | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/apt/cache.py b/apt/cache.py index 690510e3..9e682bd8 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -33,11 +33,10 @@ class Cache(object): def __init__(self, progress=None, rootdir=None): self._callbacks = {} - self.open(progress) - if rootdir: apt_pkg.Config.Set("Dir", rootdir) apt_pkg.Config.Set("Dir::State::status", rootdir + "/var/lib/dpkg/status") + self.open(progress) def _runCallbacks(self, name): """ internal helper to run a callback """ diff --git a/debian/changelog b/debian/changelog index bd5bb14b..334a6b9f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ python-apt (0.6.20ubuntu10) feisty; urgency=low * debian/control: - added XS-Vcs-Bzr header to make finding the repo easier + * apt/cache.py: + - fix rootdir var -- Michael Vogt <michael.vogt@ubuntu.com> Thu, 1 Mar 2007 14:36:33 +0100 @@ -54,6 +56,10 @@ python-apt (0.6.20ubuntu3) feisty; urgency=low (thanks to Sebastian Heinlein) * apt/cdrom.py: - better cdrom handling support + * python/string.cc: + - SizeToString supports PyLong too + * apt/cache.py: + - fix rootdir -- Michael Vogt <michael.vogt@ubuntu.com> Mon, 5 Feb 2007 10:29:55 +0100 |
