On Mon, Mar 15, 2021 at 4:42 PM David Davis <[email protected]> wrote:

> I've been bitten by this a couple times. I also noticed that ansible
> actually defines its own version of urljoin:
>
>
> https://github.com/ansible/ansible/blob/00bd0b893d5d21de040b53032c466707bacb3b93/lib/ansible/galaxy/api.py#L166-L167
>

"I have an arbitrary number of path-fragments, any of which may or may not
begin and/or end with '/', that need to be joined, and end, with a single
slash". Am I reading it correctly?

G

(who was of course Not At All thinking of writing something pretty much
exactly that...)
-- 
Grant Gainey
Principal Software Engineer, Red Hat System Management Engineering
_______________________________________________
Pulp-dev mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/pulp-dev

Reply via email to