get-ppa-fingerprint: Adjust use of

softwareproperties.ppa.get_ppa_info_from_lp to match the new calling
convention in software-properties 0.93.
ubuntu/yakkety
Colin Watson 10 years ago
parent c337082d1e
commit 74c2f2f8a7

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.242) UNRELEASED; urgency=medium
* get-ppa-fingerprint: Adjust use of
softwareproperties.ppa.get_ppa_info_from_lp to match the new calling
convention in software-properties 0.93.
-- Colin Watson <cjwatson@ubuntu.com> Wed, 17 Sep 2014 11:10:36 +0100
livecd-rootfs (2.241) utopic; urgency=medium
* live-build/auto/config: Use ubuntukylin-desktop task for ubuntukylin,

@ -11,6 +11,7 @@ parser = OptionParser(usage="%prog OWNER/NAME")
_, args = parser.parse_args()
if not args:
parser.error("must provide a PPA owner/name")
owner_name, ppa_name = args[0].split("/")
owner_name, ppa_name = args[0].split("/", 1)
owner_name = "~%s" % owner_name
ppa_info = ppa.get_ppa_info_from_lp(owner_name, ppa_name)
print(ppa_info["signing_key_fingerprint"])

Loading…
Cancel
Save