diff options
author | David Reyna <David.Reyna@windriver.com> | 2020-03-25 21:24:55 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-29 20:02:36 +0100 |
commit | 4dabdbe11ddc47a885c7f8cc6b3f26439d40d77c (patch) | |
tree | 1cfd3f48830d5688e65c283c181767d74a951358 /bitbake/lib/toaster/toastermain/management/commands/buildimport.py | |
parent | 7e252ef31094f760b5666aec9b2205166a8ccbd2 (diff) | |
download | poky-4dabdbe11ddc47a885c7f8cc6b3f26439d40d77c.tar.gz |
bitbake: toaster: migrate to Django-2.2
Toaster migration to Django-2.2. Django-1.x has been deprecated.
[YOCTO #13207]
(Bitbake rev: 9730f95686b2ac72cf1fa513c555f7c7787e2667)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastermain/management/commands/buildimport.py')
-rw-r--r-- | bitbake/lib/toaster/toastermain/management/commands/buildimport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastermain/management/commands/buildimport.py b/bitbake/lib/toaster/toastermain/management/commands/buildimport.py index 3e246fda83..7718caa57a 100644 --- a/bitbake/lib/toaster/toastermain/management/commands/buildimport.py +++ b/bitbake/lib/toaster/toastermain/management/commands/buildimport.py | |||
@@ -466,7 +466,6 @@ class Command(BaseCommand): | |||
466 | release_name = 'None' if not pl.layercommit.release else pl.layercommit.release.name | 466 | release_name = 'None' if not pl.layercommit.release else pl.layercommit.release.name |
467 | print(" AFTER :ProjectLayer=%s,%s,%s,%s" % (pl.layercommit.layer.name,release_name,pl.layercommit.branch,pl.layercommit.commit)) | 467 | print(" AFTER :ProjectLayer=%s,%s,%s,%s" % (pl.layercommit.layer.name,release_name,pl.layercommit.branch,pl.layercommit.commit)) |
468 | 468 | ||
469 | |||
470 | def handle(self, *args, **options): | 469 | def handle(self, *args, **options): |
471 | project_name = options['name'] | 470 | project_name = options['name'] |
472 | project_path = options['path'] | 471 | project_path = options['path'] |
@@ -551,6 +550,7 @@ class Command(BaseCommand): | |||
551 | # preset the mode and default image recipe | 550 | # preset the mode and default image recipe |
552 | project.set_variable(Project.PROJECT_SPECIFIC_ISNEW,Project.PROJECT_SPECIFIC_NEW) | 551 | project.set_variable(Project.PROJECT_SPECIFIC_ISNEW,Project.PROJECT_SPECIFIC_NEW) |
553 | project.set_variable(Project.PROJECT_SPECIFIC_DEFAULTIMAGE,"core-image-minimal") | 552 | project.set_variable(Project.PROJECT_SPECIFIC_DEFAULTIMAGE,"core-image-minimal") |
553 | |||
554 | # Assert any extended/custom actions or variables for new non-Toaster projects | 554 | # Assert any extended/custom actions or variables for new non-Toaster projects |
555 | if not len(self.toaster_vars): | 555 | if not len(self.toaster_vars): |
556 | pass | 556 | pass |