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/cvs.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/cvs.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/cvs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py index ae03daf236..12d11e0d5b 100644 --- a/bitbake/lib/bb/fetch2/cvs.py +++ b/bitbake/lib/bb/fetch2/cvs.py @@ -132,7 +132,7 @@ class Cvs(FetchMethod): moddir = os.path.join(pkgdir, localdir) if os.access(os.path.join(moddir, 'CVS'), os.R_OK): logger.info("Update " + loc) - bb.fetch2.check_network_access(d, cvsupdatecmd) + bb.fetch2.check_network_access(d, cvsupdatecmd, ud.url) # update sources there os.chdir(moddir) cmd = cvsupdatecmd @@ -142,7 +142,7 @@ class Cvs(FetchMethod): bb.mkdirhier(pkgdir) os.chdir(pkgdir) logger.debug(1, "Running %s", cvscmd) - bb.fetch2.check_network_access(d, cvscmd) + bb.fetch2.check_network_access(d, cvscmd, ud.url) cmd = cvscmd runfetchcmd(cmd, d, cleanup = [moddir]) |