diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-26 23:34:28 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-26 23:34:28 +0200 |
| commit | a7d1b0dd42e27785636db09b94a8fed834edebab (patch) | |
| tree | fb237c8fa49e71d025cc6b92515929c4ec47b0b7 /UpdateManager | |
| parent | 7e1ee3827be2a20fc4175315890be898123732fd (diff) | |
| download | python-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.py | 2 |
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): |
