generic-poky/bitbake/lib/bb/fetch2
Richard Purdie 52d05125c1 bitbake: fetch2: Fix missing function call
Fix the issue:

File: '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/build-appliance/build/bitbake/lib/bb/fetch2/__init__.py', lineno: 813, function: try_mirror_url
     0809:    except bb.fetch2.BBFetchException as e:
     0810:        if isinstance(e, ChecksumError):
     0811:            logger.warn("Mirror checksum failure for url %s (original url: %s)\nCleaning and trying again." % (newuri, origud.url))
     0812:            logger.warn(str(e))
 *** 0813:            self.rename_bad_checksum(ud, e.checksum)
     0814:        elif isinstance(e, NoChecksumError):
     0815:            raise
     0816:        else:
     0817:            logger.debug(1, "Mirror fetch failure for url %s (original url: %s)" % (newuri, origud.url))
Exception: NameError: global name 'self' is not defined

(Bitbake rev: 5f960017bb1d4274a5bd5b598971f38c12fc0f11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-30 09:54:35 +01:00
..
__init__.py bitbake: fetch2: Fix missing function call 2013-05-30 09:54:35 +01:00
bzr.py bitbake: fetch2/git: Clean up sortable_revision 2013-05-22 12:10:12 +01:00
cvs.py bitbake: fetch2/cvs: Fix parameter spacing 2012-09-20 11:37:17 +01:00
git.py bitbake: git: remove symling before updating mirror tarball 2013-05-09 14:15:10 +01:00
gitsm.py bitbake: bitbake/fetch: Add git submodules fetcher 2013-03-25 15:58:31 +00:00
hg.py bitbake: hg.py: Fixed fetch failure that occurs when SRCREV is a tag. 2013-01-18 12:50:13 +00:00
local.py bitbake: fetch2/local: Fix bug introduced by expression ambiguity 2012-11-26 20:57:30 +00:00
osc.py bitbake: fetch2/osc.py: Use "protocol" parameter to get the protocol 2012-07-11 15:55:25 +01:00
perforce.py bitbake: perforce.py: fix the perforce fetcher 2013-02-25 05:58:20 -08:00
repo.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
sftp.py bitbake: fetch2: Add SFTP fetcher 2013-02-17 22:32:05 +00:00
ssh.py bitbake: ssh.py: add example SRC_URI 2013-01-31 12:46:21 +00:00
svk.py replace os.popen with subprocess.Popen 2012-05-23 11:35:11 +01:00
svn.py bitbake: fetch2/git: Clean up sortable_revision 2013-05-22 12:10:12 +01:00
wget.py bitbake: wget: Improve mkdir handling 2013-02-19 14:00:32 -08:00