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/orm | |
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/orm')
-rw-r--r-- | bitbake/lib/toaster/orm/management/commands/lsupdates.py | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/orm/migrations/0011_delete_layersource.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/orm/management/commands/lsupdates.py b/bitbake/lib/toaster/orm/management/commands/lsupdates.py index 5b5abbb295..a4dbcaa76e 100644 --- a/bitbake/lib/toaster/orm/management/commands/lsupdates.py +++ b/bitbake/lib/toaster/orm/management/commands/lsupdates.py | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | from django.core.management.base import BaseCommand | 9 | from django.core.management.base import BaseCommand |
10 | 10 | ||
11 | from orm.models import LayerSource, Layer, Release, Layer_Version | 11 | from orm.models import Layer, Release, Layer_Version |
12 | from orm.models import LayerVersionDependency, Machine, Recipe | 12 | from orm.models import LayerVersionDependency, Machine, Recipe |
13 | from orm.models import Distro | 13 | from orm.models import Distro |
14 | from orm.models import ToasterSetting | 14 | from orm.models import ToasterSetting |
diff --git a/bitbake/lib/toaster/orm/migrations/0011_delete_layersource.py b/bitbake/lib/toaster/orm/migrations/0011_delete_layersource.py index 75506961a9..3f3a2e1612 100644 --- a/bitbake/lib/toaster/orm/migrations/0011_delete_layersource.py +++ b/bitbake/lib/toaster/orm/migrations/0011_delete_layersource.py | |||
@@ -1,7 +1,7 @@ | |||
1 | # -*- coding: utf-8 -*- | 1 | # -*- coding: utf-8 -*- |
2 | from __future__ import unicode_literals | 2 | from __future__ import unicode_literals |
3 | 3 | ||
4 | from django.db import migrations, models | 4 | from django.db import migrations |
5 | 5 | ||
6 | 6 | ||
7 | class Migration(migrations.Migration): | 7 | class Migration(migrations.Migration): |