From 3781f8a8b090f99542dae87df9db235dee010f7f Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 17 Sep 2014 11:11:41 +0100 Subject: [PATCH] Import patches-unapplied version 2.242 to ubuntu/utopic-proposed Imported using git-ubuntu import. Changelog parent: a36b4aa2756925756d65a467ea6a798870c1a6eb New changelog entries: * get-ppa-fingerprint: Adjust use of softwareproperties.ppa.get_ppa_info_from_lp to match the new calling convention in software-properties 0.93. --- debian/changelog | 8 ++++++++ get-ppa-fingerprint | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a5abf6b6..4b5e4eb4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.242) utopic; 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:11:41 +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"])