From ba8649ef8042c975636ba7b7dd65a2253a6353d9 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 24 Nov 2020 10:07:16 +0000 Subject: [PATCH] get-ppa-fingerprint: use production instance with latest api. Otherwise it defaults to staging lp instance, with obsolete API. --- get-ppa-fingerprint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-ppa-fingerprint b/get-ppa-fingerprint index 1450362f..2a35e0cb 100755 --- a/get-ppa-fingerprint +++ b/get-ppa-fingerprint @@ -11,5 +11,5 @@ _, args = parser.parse_args() if not args: parser.error("must provide a PPA owner/name") owner_name, ppa_name = args[0].split("/", 1) -lp = Launchpad.login_anonymously('livecd-rootfs') +lp = Launchpad.login_anonymously('livecd-rootfs', 'production', version='devel') print(lp.people(owner_name).getPPAByName(name=ppa_name).signing_key_fingerprint)