diff --git a/debian/changelog b/debian/changelog index 251827e..0837626 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,9 @@ ubuntu-dev-tools (0.185) UNRELEASED; urgency=medium - * WIP. + [ Alex Murray ] + * ubuntutools/archive.py: + + Fix crash due to PersonalPackageArchiveSourcePackage() returning the + wrong object when requesting a download url. LP: #1938659 -- Mattia Rizzolo Wed, 04 Aug 2021 11:59:05 +0200 diff --git a/ubuntutools/archive.py b/ubuntutools/archive.py index 4efac42..3d7561e 100644 --- a/ubuntutools/archive.py +++ b/ubuntutools/archive.py @@ -674,14 +674,14 @@ class PersonalPackageArchiveSourcePackage(UbuntuSourcePackage): if self.getArchive().private: yield self._private_ppa_url(name) else: - yield super()._source_urls(name) + yield from super()._source_urls(name) def _binary_urls(self, name, bpph): "Generator of URLs for name" if self.getArchive().private: yield self._private_ppa_url(name) else: - yield super()._binary_urls(name, bpph) + yield from super()._binary_urls(name, bpph) class UbuntuCloudArchiveSourcePackage(PersonalPackageArchiveSourcePackage):