summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-07-13 14:51:21 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-07-13 14:51:21 +0200
commitd445714639596ac57d4dfeb44eb6ca69fbea8190 (patch)
tree3b689efb2a69e3c0638d9d6b1b9a2ca9d0bb83c7
parent59b0a9ccf0b81a0a13ed10f4ceee28b24cfbb85c (diff)
downloadpython-apt-d445714639596ac57d4dfeb44eb6ca69fbea8190.tar.gz
* aptsources/distro.py:
- fix indent error that causes incorrect sources.list additons (LP: #372224)
-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