diff options
author | Matthew McClintock <msm@freescale.com> | 2013-02-19 14:20:01 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-19 14:33:05 -0800 |
commit | 72ebe0c34f38f462ac193ff2a5a52e03f5f214fb (patch) | |
tree | 624ed3da18a94b57d729c4c5daf1ff2716ba9d0a /bitbake | |
parent | 9a2a321bab79749eb4fdae28a0ec7d97ab85e4a3 (diff) | |
download | poky-72ebe0c34f38f462ac193ff2a5a52e03f5f214fb.tar.gz |
bitbake: bitbake/fetch2: workaround urlparse in older python not support git
(Bitbake rev: 7e479dc6a574a8f3bd9f24d2ed1c3ceef91f3828)
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index f5b363d231..8118fc2510 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -30,6 +30,9 @@ from __future__ import print_function | |||
30 | import os, re | 30 | import os, re |
31 | import logging | 31 | import logging |
32 | import urllib | 32 | import urllib |
33 | import urlparse | ||
34 | if 'git' not in urlparse.uses_netloc: | ||
35 | urlparse.uses_netloc.append('git') | ||
33 | from urlparse import urlparse | 36 | from urlparse import urlparse |
34 | import operator | 37 | import operator |
35 | import bb.persist_data, bb.utils | 38 | import bb.persist_data, bb.utils |