diff options
| author | Liming An <limingx.l.an@intel.com> | 2012-04-09 22:13:32 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 00:04:44 +0100 |
| commit | a46aafb8b27bd86d046385a569deee6b4c9b8bb6 (patch) | |
| tree | 4859187700432317d51eab26bf900820959b2870 /bitbake/lib/bb/fetch2/__init__.py | |
| parent | 9fd56fad6c1d3e085d48c7cf7899e90c77df4e90 (diff) | |
| download | poky-a46aafb8b27bd86d046385a569deee6b4c9b8bb6.tar.gz | |
Hob: add fadeout display effection for recipe view include page
As UI request, in recipes selection page, if user exclude a item,
the related depends recipes will be excluded together,so the view
clearly to add it.
[YOCTO #2100]
(Bitbake rev: c9eed04c6275ef2c694f89e047f85c7de76f89b6)
Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index e5c4b341b0..414cc2b6b1 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
| @@ -476,9 +476,10 @@ def try_mirrors(d, origud, mirrors, check = False): | |||
| 476 | 476 | ||
| 477 | if not os.path.exists(ud.donestamp) or ud.method.need_update(newuri, ud, ld): | 477 | if not os.path.exists(ud.donestamp) or ud.method.need_update(newuri, ud, ld): |
| 478 | ud.method.download(newuri, ud, ld) | 478 | ud.method.download(newuri, ud, ld) |
| 479 | open(ud.donestamp, 'w').close() | 479 | if os.path.exists(ud.localpath): |
| 480 | if hasattr(ud.method,"build_mirror_data"): | 480 | open(ud.donestamp, 'w').close() |
| 481 | ud.method.build_mirror_data(newuri, ud, ld) | 481 | if hasattr(ud.method,"build_mirror_data"): |
| 482 | ud.method.build_mirror_data(newuri, ud, ld) | ||
| 482 | 483 | ||
| 483 | if not ud.localpath or not os.path.exists(ud.localpath): | 484 | if not ud.localpath or not os.path.exists(ud.localpath): |
| 484 | continue | 485 | continue |
