diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-07-30 15:55:55 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-07-30 15:55:55 +0200 |
| commit | de49263fd994bee687f4c2ceb7cd527f528f991b (patch) | |
| tree | 2e43aec42673b960468d29d9a0c6b7ed9ea5ad1f /aptsources/distro.py | |
| parent | 2d5c6093e0d77576da867c2e5e6f42b6b75de37b (diff) | |
| parent | 2215d046a10508c0d3950db6d924727b2a2db336 (diff) | |
| download | python-apt-de49263fd994bee687f4c2ceb7cd527f528f991b.tar.gz | |
merged from mvo
Diffstat (limited to 'aptsources/distro.py')
| -rw-r--r-- | aptsources/distro.py | 4 |
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: |
