From patchwork Tue Feb 19 20:20:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] bitbake/fetch2: workaround urlparse in older python not support git Date: Tue, 19 Feb 2013 20:20:01 -0000 From: Matthew McClintock X-Patchwork-Id: 44869 Message-Id: <1361305201-15312-1-git-send-email-msm@freescale.com> To: Signed-off-by: Matthew McClintock --- 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 f5b363d..8118fc2 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