summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-10-23 16:57:46 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-10-23 16:57:46 +0200
commitfd13bb39c74b7c184e65adfaffc16c10b2bc3bf1 (patch)
tree0a326a198e47986280bef02f1373b46bbdeae8cd
parent7c53126f73135715ac90bc5d6e2759d52de433fd (diff)
downloadpython-apt-fd13bb39c74b7c184e65adfaffc16c10b2bc3bf1.tar.gz
* DistUpgrade/DistUpgradeControler.py:
- disable "fromDist" cdrom sources
-rw-r--r--DistUpgrade/DistUpgradeControler.py2
1 files changed, 1 insertions, 1 deletions
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