From fa7c32ce8c1419e29397d8b5e642b17f7a9b28f2 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 29 Aug 2006 15:41:01 +0200 Subject: * DistUpgrade/DistUpgradeControler.py: - more bugfixing --- DistUpgrade/DistUpgradeControler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index ef4283a5..5e5902c6 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -127,7 +127,7 @@ class DistUpgradeControler(object): ) self.useNetwork = res logging.debug("useNetwork: '%s' (selected by user)" % res) - return True + return True def rewriteSourcesList(self, mirror_check=True): logging.debug("rewriteSourcesList()") @@ -225,7 +225,7 @@ class DistUpgradeControler(object): ) % (self.fromDist, self.toDist)) if res: # re-init the sources and try again - self.sources = SourcesList() + self.sources = SourcesList(matcherPath=".") if not self.rewriteSourcesList(mirror_check=False): #hm, still nothing useful ... prim = _("Generate default sources?") @@ -521,7 +521,7 @@ class DistUpgradeControler(object): self._view.setStep(1) if not self.prepare(): - abort(1) + self.abort(1) # add cdrom (if we have one) if self.aptcdrom: -- cgit v1.2.3