From d445714639596ac57d4dfeb44eb6ca69fbea8190 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 13 Jul 2009 14:51:21 +0200 Subject: * aptsources/distro.py: - fix indent error that causes incorrect sources.list additons (LP: #372224) --- aptsources/distro.py | 4 ++-- debian/changelog | 5 +++++ 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 Tue, 05 May 2009 11:57:57 +0200 -- cgit v1.2.3