From fd13bb39c74b7c184e65adfaffc16c10b2bc3bf1 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 23 Oct 2006 16:57:46 +0200 Subject: * DistUpgrade/DistUpgradeControler.py: - disable "fromDist" cdrom sources --- DistUpgrade/DistUpgradeControler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py index 0136ce68..4e76a65d 100644 --- a/DistUpgrade/DistUpgradeControler.py +++ b/DistUpgrade/DistUpgradeControler.py @@ -202,7 +202,7 @@ class DistUpgradeControler(object): # we disable breezy cdrom sources to make sure that demoted # packages are removed - if entry.uri.startswith("cdrom:") and entry.dist == self.toDist: + if entry.uri.startswith("cdrom:") and entry.dist == self.fromDist: entry.disabled = True continue # ignore cdrom sources otherwise -- cgit v1.2.3