mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
Merge branch 'fix-ppa-pull-lp-1938659' of git+ssh://git.launchpad.net/~alexmurray/ubuntu-dev-tools
MR: https://code.launchpad.net/~alexmurray/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/406518 Signed-off-by: Mattia Rizzolo <mattia@debian.org>
This commit is contained in:
commit
511aa3d80c
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -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 <mattia@debian.org> Wed, 04 Aug 2021 11:59:05 +0200
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user