summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-26 23:34:28 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-26 23:34:28 +0200
commita7d1b0dd42e27785636db09b94a8fed834edebab (patch)
treefb237c8fa49e71d025cc6b92515929c4ec47b0b7 /UpdateManager
parent7e1ee3827be2a20fc4175315890be898123732fd (diff)
downloadpython-apt-a7d1b0dd42e27785636db09b94a8fed834edebab.tar.gz
* UpdateManager/Common/aptsources.py:
- use self.source_code_sources when enabling a component * DistUpgrade/DistUpgradeControler.py: - make sure to enable restricted as well otherwise the kernel won't upgrade
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/Common/aptsources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/UpdateManager/Common/aptsources.py b/UpdateManager/Common/aptsources.py
index 0d716231..06d83e01 100644
--- a/UpdateManager/Common/aptsources.py
+++ b/UpdateManager/Common/aptsources.py
@@ -636,7 +636,7 @@ class Distribution:
# now do the same for source dists
if self.get_source_code == True:
comps_per_dist = {}
- for s in sources:
+ for s in self.source_code_sources:
if s.type != "deb-src":
continue
if not comps_per_dist.has_key(s.dist):