aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastermain/management/commands/buildimport.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/toaster/toastermain/management/commands/buildimport.py')
-rw-r--r--lib/toaster/toastermain/management/commands/buildimport.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/toaster/toastermain/management/commands/buildimport.py b/lib/toaster/toastermain/management/commands/buildimport.py
index 408ad44e6..9af54ec2f 100644
--- a/lib/toaster/toastermain/management/commands/buildimport.py
+++ b/lib/toaster/toastermain/management/commands/buildimport.py
@@ -31,12 +31,10 @@
# ../bitbake/lib/toaster/manage.py buildimport --name=test --path=`pwd` --callback="" --command=import
-from django.core.management.base import BaseCommand, CommandError
-from django.core.exceptions import ObjectDoesNotExist
-from orm.models import ProjectManager, Project, Release, ProjectVariable
+from django.core.management.base import BaseCommand
+from orm.models import Project, Release, ProjectVariable
from orm.models import Layer, Layer_Version, LayerSource, ProjectLayer
from toastergui.api import scan_layer_content
-from django.db import OperationalError
import os
import re