From: Richard Purdie Date: Mon, 24 Feb 2014 12:57:38 +0000 (+0000) Subject: fetch2: Fix mirror repo tarball creation X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=348971d410bfd5d8b1757468d73e1d24ae78a594;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git fetch2: Fix mirror repo tarball creation A typo was meaning that the mirror creation method wasn't being called when it should have been. Fix the type to fix mirror tarball creation. [YOCTO #5284] Signed-off-by: Richard Purdie --- diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index de95074c402..dc6c8210110 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -808,7 +808,7 @@ def try_mirror_url(origud, ud, ld, check = False): os.symlink(ud.localpath, dest) if not os.path.exists(origud.donestamp) or origud.method.need_update(origud, ld): origud.method.download(origud, ld) - if hasattr(ud.method,"build_mirror_data"): + if hasattr(origud.method,"build_mirror_data"): origud.method.build_mirror_data(origud, ld) return ud.localpath # Otherwise the result is a local file:// and we symlink to it