diff options
author | 2020-01-16 16:55:18 +0000 | |
---|---|---|
committer | 2020-01-19 13:30:58 +0000 | |
commit | 4367692a932ac135c5aa4f9f2a4e4f0150f76697 (patch) | |
tree | cfe5d7e8dcf9d924b301ad683444b293f83b2d46 /lib/toaster/toastermain/management/commands/builddelete.py | |
parent | f5daef68703481a3c243dfecc7de404e6ebfdbb6 (diff) | |
download | bitbake-4367692a932ac135c5aa4f9f2a4e4f0150f76697.tar.gz |
lib: remove unused imports
removed unused imports which made the code harder to read, and slightly
but less efficient
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastermain/management/commands/builddelete.py')
-rw-r--r-- | lib/toaster/toastermain/management/commands/builddelete.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/toaster/toastermain/management/commands/builddelete.py b/lib/toaster/toastermain/management/commands/builddelete.py index c2d773a57..93919dec2 100644 --- a/lib/toaster/toastermain/management/commands/builddelete.py +++ b/lib/toaster/toastermain/management/commands/builddelete.py @@ -2,12 +2,10 @@ # SPDX-License-Identifier: GPL-2.0-only # -from django.core.management.base import BaseCommand, CommandError +from django.core.management.base import BaseCommand from django.core.exceptions import ObjectDoesNotExist from orm.models import Build from django.db import OperationalError -import os - class Command(BaseCommand): |