summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2017-02-24 21:52:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 11:16:07 +0000
commit4b70f27173187ce9bc91193b994a67a9084ad861 (patch)
tree6e3a3d5d5540458a331d7a4df3f5c4e727a91ad3 /bitbake/lib/bb/fetch2/__init__.py
parent3c83b56309ab419f8cda72c0711479f60f61439a (diff)
downloadpoky-4b70f27173187ce9bc91193b994a67a9084ad861.tar.gz
bitbake: fetch2/__init__: handle @ in package names
A number of npm packages use @ as a leading chararacter. Examples are most of the angular2 packages. (Bitbake rev: 628c4bf6c89b3d62c9b864380b5c8e131a899bff) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 70387f52db..760e24f039 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -356,7 +356,7 @@ def decodeurl(url):
356 user, password, parameters). 356 user, password, parameters).
357 """ 357 """
358 358
359 m = re.compile('(?P<type>[^:]*)://((?P<user>[^/]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url) 359 m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
360 if not m: 360 if not m:
361 raise MalformedUrl(url) 361 raise MalformedUrl(url)
362 362