diff options
| author | Sebastian Heinlein <sebi@sebi-laptop> | 2007-03-22 14:06:10 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-laptop> | 2007-03-22 14:06:10 +0100 |
| commit | d5158ac9c2d1a56f548aa5e1e8fa955b24a5a792 (patch) | |
| tree | c221e8542fb8b0ef19097cd6ae597391ee8d9fc0 /apt/cache.py | |
| parent | 8e179c8fd3b02b0dacac7ecbfbd08447d9c9ba43 (diff) | |
| parent | 6b02ff1915b3dcd098474e1b9ccd5f89d6b777da (diff) | |
| download | python-apt-d5158ac9c2d1a56f548aa5e1e8fa955b24a5a792.tar.gz | |
* merge
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 """ |
