From bcf3e153f75e10b0a182d75c48b2982224060ef3 Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Tue, 6 May 2025 13:14:36 -0400 Subject: [PATCH] Fix pulling from upload queue Commit 4a4c4e0a27cfd159ac0bbc135d4eff06be8bde1c completely broke pull-lp-source --upload-queue, which now fails with: Traceback (most recent call last): File "/usr/bin/pull-lp-source", line 14, in PullPkg.main(distro="ubuntu", pull="source") ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 111, in main cls(*args, **kwargs).pull() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 438, in pull self.pull_upload_queue( # pylint: disable=missing-kwoa ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pull, arch=options["arch"], download_only=options["download_only"], **params ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) Fixes LP: #2110061 --- ubuntutools/pullpkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntutools/pullpkg.py b/ubuntutools/pullpkg.py index 94ab1ca..05d7973 100644 --- a/ubuntutools/pullpkg.py +++ b/ubuntutools/pullpkg.py @@ -436,7 +436,7 @@ class PullPkg: if options["upload_queue"]: # upload queue API is different/simpler self.pull_upload_queue( # pylint: disable=missing-kwoa - pull, arch=options["arch"], download_only=options["download_only"], **params + pull, download_only=options["download_only"], **params ) return