summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Boucher <fboucher@redhat.com>2017-09-21 17:40:26 +0200
committerFabien Boucher <fboucher@redhat.com>2017-12-14 23:41:47 +0100
commitbf331d4d1ee5a94aa12e11c20ebe0940ee72c2de (patch)
tree60114d4569c65b0118365cbee9c3d89a5c1f6ed5
parent9dc1b9f0001c912ca5db14a18d8359c05326d2d5 (diff)
downloadzuul-bf331d4d1ee5a94aa12e11c20ebe0940ee72c2de.tar.gz
encrypt_secret: remove the trailing '/' when building url
Change-Id: Ie534063b85d333abfcc4116b4e3903299941f139
-rwxr-xr-xtools/encrypt_secret.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/encrypt_secret.py b/tools/encrypt_secret.py
index 2a4ea1d13..c0ee9be64 100755
--- a/tools/encrypt_secret.py
+++ b/tools/encrypt_secret.py
@@ -58,7 +58,7 @@ def main():
"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: