commit | bf331d4d1ee5a94aa12e11c20ebe0940ee72c2de | [log] [tgz] |
---|---|---|
author | Fabien Boucher <fboucher@redhat.com> | Thu Sep 21 17:40:26 2017 +0200 |
committer | Fabien Boucher <fboucher@redhat.com> | Thu Dec 14 23:41:47 2017 +0100 |
tree | 60114d4569c65b0118365cbee9c3d89a5c1f6ed5 | |
parent | 9dc1b9f0001c912ca5db14a18d8359c05326d2d5 [diff] |
encrypt_secret: remove the trailing '/' when building url Change-Id: Ie534063b85d333abfcc4116b4e3903299941f139
diff --git a/tools/encrypt_secret.py b/tools/encrypt_secret.py index 2a4ea1d..c0ee9be 100755 --- a/tools/encrypt_secret.py +++ b/tools/encrypt_secret.py
@@ -58,7 +58,7 @@ "to standard output.") args = parser.parse_args() - req = Request("%s/%s.pub" % (args.url, args.project)) + req = Request("%s/%s.pub" % (args.url.rstrip('/'), args.project)) pubkey = urlopen(req) if args.infile: