diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 3 |
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 | |||
30 | import os, re | 30 | import os, re |
31 | import logging | 31 | import logging |
32 | import urllib | 32 | import urllib |
33 | import urlparse | ||
34 | if 'git' not in urlparse.uses_netloc: | ||
35 | urlparse.uses_netloc.append('git') | ||
33 | from urlparse import urlparse | 36 | from urlparse import urlparse |
34 | import operator | 37 | import operator |
35 | import bb.persist_data, bb.utils | 38 | import bb.persist_data, bb.utils |