From 7e479dc6a574a8f3bd9f24d2ed1c3ceef91f3828 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Tue, 19 Feb 2013 14:20:01 -0600 Subject: [PATCH] bitbake/fetch2: workaround urlparse in older python not support git Signed-off-by: Matthew McClintock Signed-off-by: Richard Purdie --- lib/bb/fetch2/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index f5b363d2312..8118fc25101 100644 --- a/lib/bb/fetch2/__init__.py +++ b/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 -- 2.47.3