bitbake/fetch2: workaround urlparse in older python not support git
PATCH 1/1 bitbake/fetch2: workaround urlparse in older python not support git
Signed-off-by Matthew McClintock <[email protected]>
--- bitbake/lib/bb/fetch2/__init__.py | 3 +++ 1 file changed, 3 insertions(+)
bitbake/lib/bb/fetch2/__init__.py +3 -0
@@ -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
Signature · 1 line
1.7.9.7