diff options
| -rw-r--r-- | aptsources/distro.py | 2 | ||||
| -rw-r--r-- | debian/changelog | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/aptsources/distro.py b/aptsources/distro.py index 9643524b..7acd1942 100644 --- a/aptsources/distro.py +++ b/aptsources/distro.py @@ -164,7 +164,7 @@ class Distribution: new_source = self.sourceslist.add(type, uri, dist, comps, comment) # if source code is enabled add a deb-src line after the new # source - if self.get_source_code == True and tpye == self.binary_type: + if self.get_source_code == True and type == self.binary_type: self.sourceslist.add(self.source_type, uri, dist, comps, comment, file=new_source.file, pos=self.sourceslist.list.index(new_source)+1) diff --git a/debian/changelog b/debian/changelog index e5a5b660..cb818eea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +python-apt (0.6.20ubuntu6) feisty; urgency=low + + * aptsources/distro.py: + - fix crash in add_source (LP#85806) + + -- + python-apt (0.6.20ubuntu5) feisty; urgency=low * be more robust in has_repository (LP#84897) |
