diff options
| author | Julian Andres Klode <jak@debian.org> | 2011-04-12 17:20:37 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2011-04-12 17:20:37 +0200 |
| commit | 9d00ce840131092e7a7ae26cd0b0279c7646a7a5 (patch) | |
| tree | 8de450f10a940353641d238640df91d4b4e9c365 | |
| parent | e4c1c8610e9a9a120c02713a3567b68f73c246e8 (diff) | |
| download | python-apt-9d00ce840131092e7a7ae26cd0b0279c7646a7a5.tar.gz | |
Update enable_component to also apply to -src entries (LP: #758732)
| -rw-r--r-- | aptsources/distro.py | 3 | ||||
| -rw-r--r-- | debian/changelog | 7 |
2 files changed, 10 insertions, 0 deletions
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 <jak@debian.org> 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 |
