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:
Richard Purdie
2007-09-02 14:10:08 +00:00
parent 1cf731b1e3
commit e223238b1b
8 changed files with 130 additions and 30 deletions

View File

@@ -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