summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/orm/models.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 4a868e7ded..b25910aaac 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -598,8 +598,8 @@ class Package(models.Model):
598class Package_DependencyManager(models.Manager): 598class Package_DependencyManager(models.Manager):
599 use_for_related_fields = True 599 use_for_related_fields = True
600 600
601 def get_query_set(self): 601 def get_queryset(self):
602 return super(Package_DependencyManager, self).get_query_set().exclude(package_id = F('depends_on__id')) 602 return super(Package_DependencyManager, self).get_queryset().exclude(package_id = F('depends_on__id'))
603 603
604class Package_Dependency(models.Model): 604class Package_Dependency(models.Model):
605 TYPE_RDEPENDS = 0 605 TYPE_RDEPENDS = 0
@@ -699,8 +699,8 @@ class Recipe(models.Model):
699class Recipe_DependencyManager(models.Manager): 699class Recipe_DependencyManager(models.Manager):
700 use_for_related_fields = True 700 use_for_related_fields = True
701 701
702 def get_query_set(self): 702 def get_queryset(self):
703 return super(Recipe_DependencyManager, self).get_query_set().exclude(recipe_id = F('depends_on__id')) 703 return super(Recipe_DependencyManager, self).get_queryset().exclude(recipe_id = F('depends_on__id'))
704 704
705class Recipe_Dependency(models.Model): 705class Recipe_Dependency(models.Model):
706 TYPE_DEPENDS = 0 706 TYPE_DEPENDS = 0