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:30:58 +0000 |
commit | 4367692a932ac135c5aa4f9f2a4e4f0150f76697 (patch) | |
tree | cfe5d7e8dcf9d924b301ad683444b293f83b2d46 /lib/toaster/orm | |
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/orm')
-rw-r--r-- | lib/toaster/orm/management/commands/lsupdates.py | 2 | ||||
-rw-r--r-- | lib/toaster/orm/migrations/0011_delete_layersource.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/toaster/orm/management/commands/lsupdates.py b/lib/toaster/orm/management/commands/lsupdates.py index 5b5abbb29..a4dbcaa76 100644 --- a/lib/toaster/orm/management/commands/lsupdates.py +++ b/lib/toaster/orm/management/commands/lsupdates.py @@ -8,7 +8,7 @@ from django.core.management.base import BaseCommand -from orm.models import LayerSource, Layer, Release, Layer_Version +from orm.models import Layer, Release, Layer_Version from orm.models import LayerVersionDependency, Machine, Recipe from orm.models import Distro from orm.models import ToasterSetting diff --git a/lib/toaster/orm/migrations/0011_delete_layersource.py b/lib/toaster/orm/migrations/0011_delete_layersource.py index 75506961a..3f3a2e161 100644 --- a/lib/toaster/orm/migrations/0011_delete_layersource.py +++ b/lib/toaster/orm/migrations/0011_delete_layersource.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -from django.db import migrations, models +from django.db import migrations class Migration(migrations.Migration): |