Skip to contentSkip to conversation

toaster: missing ToasterSetting import

PATCH New David Reyna 1 participant 1 message Sep 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster: missing ToasterSetting import

From: David Reyna <[email protected]>

The file "lsupdates.py" is missing the import of 'ToasterSetting', and that breaks setting up and updating Toaster and its database.

[YOCTO #12036]

---
 bitbake/lib/toaster/orm/management/commands/lsupdates.py | 1 +
 1 file changed, 1 insertion(+)
bitbake/lib/toaster/orm/management/commands/lsupdates.py +1 -0
index fac5733..54b4fab 100644
@@ -24,6 +24,7 @@ from django.core.management.base import BaseCommand
 from orm.models import LayerSource, Layer, Release, Layer_Version
 from orm.models import LayerVersionDependency, Machine, Recipe
 from orm.models import Distro
+from orm.models import ToasterSetting
 
 import os
 import sys
Signature · 1 line
1.9.1