summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-12-09 19:56:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-14 23:13:06 +0000
commit93f573836c0a5759051000a5f0df59020b61be3e (patch)
tree221b06e61e9ec58c6d5d41008d48c516e3b9fd3d /bitbake/lib
parent23c48065d2b44c4ff6f893aead30f64f3524712a (diff)
downloadpoky-93f573836c0a5759051000a5f0df59020b61be3e.tar.gz
bitbake: toaster: rename get_query_set -> get_queryset
Renamed get_query_set to get_queryset as get_queryset causes deprecation warning in Django 1.7 and is deprecated in Django 1.8 (Bitbake rev: ef8b399dccd413070e32ce05e013337ea01fa64d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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