summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2013-02-19 14:20:01 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-19 14:33:05 -0800
commit72ebe0c34f38f462ac193ff2a5a52e03f5f214fb (patch)
tree624ed3da18a94b57d729c4c5daf1ff2716ba9d0a /bitbake
parent9a2a321bab79749eb4fdae28a0ec7d97ab85e4a3 (diff)
downloadpoky-72ebe0c34f38f462ac193ff2a5a52e03f5f214fb.tar.gz
poky-72ebe0c34f38f462ac193ff2a5a52e03f5f214fb.tar.bz2
poky-72ebe0c34f38f462ac193ff2a5a52e03f5f214fb.zip
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__.py3
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
import os, re
import logging
import urllib
+import urlparse
+if 'git' not in urlparse.uses_netloc:
+ urlparse.uses_netloc.append('git')
from urlparse import urlparse
import operator
import bb.persist_data, bb.utils