diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 377fa01ed4..98840c91b0 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -325,7 +325,7 @@ def decodeurl(url): | |||
325 | user, password, parameters). | 325 | user, password, parameters). |
326 | """ | 326 | """ |
327 | 327 | ||
328 | m = re.compile('(?P<type>[^:]*)://((?P<user>.+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url) | 328 | m = re.compile('(?P<type>[^:]*)://((?P<user>[^/]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url) |
329 | if not m: | 329 | if not m: |
330 | raise MalformedUrl(url) | 330 | raise MalformedUrl(url) |
331 | 331 | ||