diff options
| author | Michael Vogt <egon@bottom> | 2007-04-24 21:24:32 +0200 |
|---|---|---|
| committer | Michael Vogt <egon@bottom> | 2007-04-24 21:24:32 +0200 |
| commit | f83140ef276db00a2673e5085a40704f078a8cbd (patch) | |
| tree | f2d65b5d4cc573b7dad4125a676788c19a7330ad /apt/cache.py | |
| parent | 82a6e0be9a632bc16e5c21b9c3ab0cce9a5b2a37 (diff) | |
| parent | 6b02ff1915b3dcd098474e1b9ccd5f89d6b777da (diff) | |
| download | python-apt-f83140ef276db00a2673e5085a40704f078a8cbd.tar.gz | |
* apt/cdrom.py:
- better cdrom handling support
* apt/package.py:
- added candidateDependencies, installedDependencies
- SizeToString supports PyLong too
- support pkg.architecture
- support candidateRecord, installedRecord
* apt/cache.py:
- fix rootdir
* apt/cdrom.py:
- fix bug in cdrom mountpoint handling
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 """ |
