get-ppa-fingerprint: use production instance with latest api.

Otherwise it defaults to staging lp instance, with obsolete API.
sil2100/proposed-components
Dimitri John Ledkov 4 years ago
parent fb0d16ea8a
commit ba8649ef80
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED

@ -11,5 +11,5 @@ _, args = parser.parse_args()
if not args: if not args:
parser.error("must provide a PPA owner/name") parser.error("must provide a PPA owner/name")
owner_name, ppa_name = args[0].split("/", 1) 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) print(lp.people(owner_name).getPPAByName(name=ppa_name).signing_key_fingerprint)

Loading…
Cancel
Save