encrypt_secret: remove the trailing '/' when building url
Change-Id: Ie534063b85d333abfcc4116b4e3903299941f139
This commit is contained in:
parent
9dc1b9f000
commit
bf331d4d1e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue