diff --git a/debian/changelog b/debian/changelog index a5abf6b6..97c15f12 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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, diff --git a/get-ppa-fingerprint b/get-ppa-fingerprint index fed1dfc7..f6910419 100755 --- a/get-ppa-fingerprint +++ b/get-ppa-fingerprint @@ -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"])