diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-11 22:08:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-11 22:08:21 +0000 |
commit | 029f19bd3d4dc09fb48bf6e5322d48bb84c4eb34 (patch) | |
tree | c4738712f08cb91326bea57aff156c31c289e21e /bitbake/lib/bb/fetch2/git.py | |
parent | 4a226460d5e158e8adbf74a68717cb9a923e8009 (diff) | |
download | openembedded-core-029f19bd3d4dc09fb48bf6e5322d48bb84c4eb34.tar.gz openembedded-core-029f19bd3d4dc09fb48bf6e5322d48bb84c4eb34.tar.bz2 openembedded-core-029f19bd3d4dc09fb48bf6e5322d48bb84c4eb34.zip |
bitbake/fetch2: Add explict network access exception and handling to give users usable error messages
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 6d82bdc88b..f2c27e42a7 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py @@ -132,7 +132,7 @@ class Git(FetchMethod): if not self._contains_ref(ud.revisions[name], d): needupdate = True if needupdate: - bb.fetch2.check_network_access(d, "git fetch %s%s" % (ud.host, ud.path)) + bb.fetch2.check_network_access(d, "git fetch %s%s" % (ud.host, ud.path), ud.url) try: runfetchcmd("%s remote prune origin" % ud.basecmd, d) runfetchcmd("%s remote rm origin" % ud.basecmd, d) |