From 72ebe0c34f38f462ac193ff2a5a52e03f5f214fb Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Tue, 19 Feb 2013 14:20:01 -0600 Subject: bitbake: bitbake/fetch2: workaround urlparse in older python not support git (Bitbake rev: 7e479dc6a574a8f3bd9f24d2ed1c3ceef91f3828) Signed-off-by: Matthew McClintock Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-54-g00ecf