summaryrefslogtreecommitdiff
path: root/SoftwareProperties
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-03-27 20:35:23 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-03-27 20:35:23 +0200
commitbd4359789d0e72fbbcd49f22b7f535e9238f3f93 (patch)
tree02c754561d8b964a20c190e107eb73d26f508d07 /SoftwareProperties
parentd35c7defd7e19b1f7bcb193c86bd1be5c50dd491 (diff)
downloadpython-apt-bd4359789d0e72fbbcd49f22b7f535e9238f3f93.tar.gz
* more comments added
Diffstat (limited to 'SoftwareProperties')
-rw-r--r--SoftwareProperties/dialog_add.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/SoftwareProperties/dialog_add.py b/SoftwareProperties/dialog_add.py
index 4ee17a87..9a074396 100644
--- a/SoftwareProperties/dialog_add.py
+++ b/SoftwareProperties/dialog_add.py
@@ -145,6 +145,9 @@ class dialog_add:
def _make_source_entry(self):
" helper for the 'edit' mode "
+ # we use "selected" for pretty much everything *but* we use
+ # self.source_entry.uri to make sure that the mirror information is
+ # preserved
line = "%s %s %s" % (self.selected.type, self.source_entry.uri, self.selected.dist)
if len(self.selected_comps) > 0:
line += " " + " ".join(self.selected_comps)