diff options
| author | Sebastian Heinlein <sebi@sebi-laptop> | 2007-03-22 14:45:40 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-laptop> | 2007-03-22 14:45:40 +0100 |
| commit | dcc9b56cde4a5347ba725bf5d90de47b35ddde24 (patch) | |
| tree | 3c479c5a5eef71a0510f68eac08d82597597e11f /apt/cache.py | |
| parent | 89ac70a4cdc9507e6db3921497680aea95b6a7c2 (diff) | |
| parent | d5158ac9c2d1a56f548aa5e1e8fa955b24a5a792 (diff) | |
| download | python-apt-dcc9b56cde4a5347ba725bf5d90de47b35ddde24.tar.gz | |
* merge with mvo
Diffstat (limited to 'apt/cache.py')
| -rw-r--r-- | apt/cache.py | 3 |
1 files changed, 1 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 """ |
