summaryrefslogtreecommitdiffstats
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
parent9a2a321bab79749eb4fdae28a0ec7d97ab85e4a3 (diff)
downloadpoky-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>
-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
30import os, re 30import os, re
31import logging 31import logging
32import urllib 32import urllib
33import urlparse
34if 'git' not in urlparse.uses_netloc:
35 urlparse.uses_netloc.append('git')
33from urlparse import urlparse 36from urlparse import urlparse
34import operator 37import operator
35import bb.persist_data, bb.utils 38import bb.persist_data, bb.utils