bitbake: fetch2: Add a class representing a generic URI
authorOlof Johansson <olof.johansson@axis.com>
Tue, 29 Jan 2013 07:50:07 +0000 (08:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Feb 2013 22:32:04 +0000 (22:32 +0000)
commit991fd9984e33908a3a42973b55dea1815c0ae570
tree162b9407ebf7772c5385ca2424fe92c6458ef150
parent45659e8f8dfb73c003d69c394e7414a6f3cce100
bitbake: fetch2: Add a class representing a generic URI

A class representing a generic URI, with methods for accessing the URI
components, and stringifies to the URI. This class should be a bit more
flexible than the existing {encode,decode}_url functions in that it
supports more components (e.g. port) and that it does not rely on a
specific order on the return values. This makes it easy to add new
properties without affecting the API.

(Bitbake rev: bd824da8a7eafe27310e410807319628378caeca)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py