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-21 13:35:02 +0000 |
commit | 5d9eaa644d7a1832daef5a14cd708226be1c1bf6 (patch) | |
tree | 3f247a9caa25b9d6f71db2751eeaee17543422a8 /lib/bb/fetch2/git.py | |
parent | c4f6794c5842f15b2d2e43be79c548ed29704b2a (diff) | |
download | bitbake-5d9eaa644d7a1832daef5a14cd708226be1c1bf6.tar.gz |
bitbake/fetch2: Add explict network access exception and handling to give users usable error messages
(From Poky rev: 029f19bd3d4dc09fb48bf6e5322d48bb84c4eb34)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/git.py')
-rw-r--r-- | lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py index 6d82bdc88..f2c27e42a 100644 --- a/lib/bb/fetch2/git.py +++ b/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) |