summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeControler.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-10-23 16:51:05 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-10-23 16:51:05 +0200
commit7c53126f73135715ac90bc5d6e2759d52de433fd (patch)
tree10060da55d435bbe50576fb5676c9acbcd326020 /DistUpgrade/DistUpgradeControler.py
parent703e7ca6c3a7d99db6bfcdbb7e09b5120327f850 (diff)
downloadpython-apt-7c53126f73135715ac90bc5d6e2759d52de433fd.tar.gz
* DistUpgrade/DistUpgradeControler.py:
- comment out old cdrom sources (causes trouble with the sysvinit<->upstart upgrade because sysinit is still essential)
Diffstat (limited to 'DistUpgrade/DistUpgradeControler.py')
-rw-r--r--DistUpgrade/DistUpgradeControler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/DistUpgrade/DistUpgradeControler.py b/DistUpgrade/DistUpgradeControler.py
index a968cdb8..0136ce68 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 == "breezy":
+ if entry.uri.startswith("cdrom:") and entry.dist == self.toDist:
entry.disabled = True
continue
# ignore cdrom sources otherwise