From 9d00ce840131092e7a7ae26cd0b0279c7646a7a5 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 12 Apr 2011 17:20:37 +0200 Subject: Update enable_component to also apply to -src entries (LP: #758732) --- aptsources/distro.py | 3 +++ debian/changelog | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/aptsources/distro.py b/aptsources/distro.py index 23192f50..15806c5c 100644 --- a/aptsources/distro.py +++ b/aptsources/distro.py @@ -336,6 +336,9 @@ class Distribution(object): for source in sources: add_component_only_once(source, comps_per_dist) + for source in self.source_code_sources: + add_component_only_once(source, comps_per_sdist) + # check if there is a main source code source at all if self.get_source_code == True: if len(self.source_code_sources) < 1: diff --git a/debian/changelog b/debian/changelog index 3397f85d..c2377956 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-apt (0.8.0~exp3) UNRELEASED; urgency=low + + [ Stéphane Graber ] + * Update enable_component to also apply to -src entries (LP: #758732) + + -- Julian Andres Klode Tue, 12 Apr 2011 17:19:49 +0200 + python-apt (0.8.0~exp2) experimental; urgency=low * aptsources: Parse multi-arch sources.list files correctly -- cgit v1.2.3