summaryrefslogtreecommitdiff
path: root/SoftwareProperties/SoftwareProperties.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-09-29 17:00:29 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-09-29 17:00:29 +0200
commitd74718143cd630e09ee14f5a2fb946b86266cb37 (patch)
tree7509d730c14e38838e26acaf7e4f150837c464ed /SoftwareProperties/SoftwareProperties.py
parente40dd39c6ad5b1d29644430cdecdfc02bf674a8a (diff)
parentb9dffe7bcfab1807249821bacb8b39e83d20d5eb (diff)
downloadpython-apt-d74718143cd630e09ee14f5a2fb946b86266cb37.tar.gz
* merged from glatzor
Diffstat (limited to 'SoftwareProperties/SoftwareProperties.py')
-rw-r--r--SoftwareProperties/SoftwareProperties.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py
index 1c8a3425..14ddeefc 100644
--- a/SoftwareProperties/SoftwareProperties.py
+++ b/SoftwareProperties/SoftwareProperties.py
@@ -482,6 +482,9 @@ class SoftwareProperties(SimpleGladeApp):
for source in self.distro.child_sources:
if source.template == template:
self.sourceslist.remove(source)
+ for source in self.distro.source_code_sources:
+ if source.template == template:
+ self.sourceslist.remove(source)
else:
self.distro.add_source(self.sourceslist,
uri=template.base_uri,