diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-03-27 22:45:19 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-03-27 22:45:19 +0200 |
| commit | 287de31cec8313b10af47ede92483199bbde2200 (patch) | |
| tree | 1ebf928eaf895f3b973fb0f7265cab3c2c7bd624 /DistUpgrade/DistUpgradeControler.py | |
| parent | 6297fce66c8243488048690472f0d1ebc329dd52 (diff) | |
| parent | 3aa98f64592d44a6c65ad1bac11e03292c7deb39 (diff) | |
| download | python-apt-287de31cec8313b10af47ede92483199bbde2200.tar.gz | |
* various fixes
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeControler.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index 874eaf0b..6ee2fb97 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -58,7 +58,6 @@ class DistUpgradeControler(object): def updateSourcesList(self): - self.sources = SourcesList() # this must map, i.e. second in "from" must be the second in "to" # (but they can be different, so in theory we could exchange @@ -299,8 +298,10 @@ class DistUpgradeControler(object): # sanity check (check for ubuntu-desktop, brokenCache etc) self._view.updateStatus(_("Checking package manager")) self._view.setStep(1) + self.openCache() - + self.sources = SourcesList() + if not self.cache.sanityCheck(self._view): abort(1) |
