From c362e61ee2cc97b393f7002c4592787d6573080c Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 9 Jun 2015 16:03:36 +0100 Subject: bitbake: toaster: remove MANAGED references We conflate the managed and analysis modes by deleting alternative code paths, favouring the MANAGED mode, always considering the MANAGED variable True. (Bitbake rev: 0ac02d3775106b485e29496b62f31e91fd3f9387) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/orm/models.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bitbake/lib/toaster/orm/models.py') diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 88194504c5..422f2bfd93 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py @@ -288,9 +288,7 @@ class BuildArtifact(models.Model): def is_available(self): - if settings.MANAGED and build.project is not None: - return build.buildrequest.environment.has_artifact(file_path) - return False + return build.buildrequest.environment.has_artifact(file_path) class ProjectTarget(models.Model): project = models.ForeignKey(Project) -- cgit v1.2.3-54-g00ecf