mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
bitbake: Update to latest bitbake-1.8 branch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2651 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -283,10 +283,11 @@ def decodeurl(url):
|
||||
raise MalformedUrl(url)
|
||||
user = m.group('user')
|
||||
parm = m.group('parm')
|
||||
m = re.compile('(?P<host>[^/;]+)(?P<path>/[^;]+)').match(location)
|
||||
if m:
|
||||
host = m.group('host')
|
||||
path = m.group('path')
|
||||
|
||||
locidx = location.find('/')
|
||||
if locidx != -1:
|
||||
host = location[:locidx]
|
||||
path = location[locidx:]
|
||||
else:
|
||||
host = ""
|
||||
path = location
|
||||
|
||||
Reference in New Issue
Block a user