summaryrefslogtreecommitdiff
path: root/aptsources/distro.py
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 /aptsources/distro.py
parent59b0a9ccf0b81a0a13ed10f4ceee28b24cfbb85c (diff)
downloadpython-apt-d445714639596ac57d4dfeb44eb6ca69fbea8190.tar.gz
* aptsources/distro.py:
- fix indent error that causes incorrect sources.list additons (LP: #372224)
Diffstat (limited to 'aptsources/distro.py')
-rw-r--r--aptsources/distro.py4
1 files changed, 2 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: