diff options
author | Frazer Clews <frazer.clews@codethink.co.uk> | 2020-01-16 16:55:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-19 13:31:05 +0000 |
commit | 0ac5174c7d39a3e49893df0d517d47bec1935555 (patch) | |
tree | 479496afb1da7814071e39e888e8926cd03bec57 /bitbake/lib/toaster/toastermain/management/commands/buildimport.py | |
parent | 444bcb6cb6be8d5205fc88790360d864e633a555 (diff) | |
download | poky-0ac5174c7d39a3e49893df0d517d47bec1935555.tar.gz |
bitbake: lib: remove unused imports
removed unused imports which made the code harder to read, and slightly
but less efficient
(Bitbake rev: 4367692a932ac135c5aa4f9f2a4e4f0150f76697)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
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 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastermain/management/commands/buildimport.py b/bitbake/lib/toaster/toastermain/management/commands/buildimport.py index 408ad44e6e..9af54ec2f2 100644 --- a/bitbake/lib/toaster/toastermain/management/commands/buildimport.py +++ b/bitbake/lib/toaster/toastermain/management/commands/buildimport.py | |||
@@ -31,12 +31,10 @@ | |||
31 | 31 | ||
32 | # ../bitbake/lib/toaster/manage.py buildimport --name=test --path=`pwd` --callback="" --command=import | 32 | # ../bitbake/lib/toaster/manage.py buildimport --name=test --path=`pwd` --callback="" --command=import |
33 | 33 | ||
34 | from django.core.management.base import BaseCommand, CommandError | 34 | from django.core.management.base import BaseCommand |
35 | from django.core.exceptions import ObjectDoesNotExist | 35 | from orm.models import Project, Release, ProjectVariable |
36 | from orm.models import ProjectManager, Project, Release, ProjectVariable | ||
37 | from orm.models import Layer, Layer_Version, LayerSource, ProjectLayer | 36 | from orm.models import Layer, Layer_Version, LayerSource, ProjectLayer |
38 | from toastergui.api import scan_layer_content | 37 | from toastergui.api import scan_layer_content |
39 | from django.db import OperationalError | ||
40 | 38 | ||
41 | import os | 39 | import os |
42 | import re | 40 | import re |