summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aptsources/distro.py4
-rw-r--r--debian/changelog5
2 files changed, 7 insertions, 2 deletions
diff --git a/aptsources/distro.py b/aptsources/distro.py
index bbb8ba50..5398d4a3 100644
--- a/aptsources/distro.py
+++ b/aptsources/distro.py
@@ -319,12 +319,12 @@ class Distribution:
if s.type == self.binary_type:
if s.dist not in comps_per_dist:
comps_per_dist[s.dist] = set()
- map(comps_per_dist[s.dist].add, s.comps)
+ map(comps_per_dist[s.dist].add, s.comps)
for s in self.source_code_sources:
if s.type == self.source_type:
if s.dist not in comps_per_sdist:
comps_per_sdist[s.dist] = set()
- map(comps_per_sdist[s.dist].add, s.comps)
+ map(comps_per_sdist[s.dist].add, s.comps)
# check if there is a main source at all
if len(self.main_sources) < 1:
diff --git a/debian/changelog b/debian/changelog
index db6204ba..cb1c932e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,11 @@ python-apt (0.7.10.4) UNRELEASED; urgency=low
* python/progress.cc:
- low level code for update_status_full and pulse_items()
- better threading support
+
+ [ Michael Vogt ]
+ * aptsources/distro.py:
+ - fix indent error that causes incorrect sources.list additons
+ (LP: #372224)
-- Michael Vogt <michael.vogt@ubuntu.com> Tue, 05 May 2009 11:57:57 +0200