summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/management/commands/lsupdates.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/orm/management/commands/lsupdates.py')
-rw-r--r--bitbake/lib/toaster/orm/management/commands/lsupdates.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/orm/management/commands/lsupdates.py b/bitbake/lib/toaster/orm/management/commands/lsupdates.py
index 68c6c423d8..90f07c9dc5 100644
--- a/bitbake/lib/toaster/orm/management/commands/lsupdates.py
+++ b/bitbake/lib/toaster/orm/management/commands/lsupdates.py
@@ -4,7 +4,7 @@
4# 4#
5# BitBake Toaster Implementation 5# BitBake Toaster Implementation
6# 6#
7# Copyright (C) 2016 Intel Corporation 7# Copyright (C) 2016-2017 Intel Corporation
8# 8#
9# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
@@ -19,7 +19,7 @@
19# with this program; if not, write to the Free Software Foundation, Inc., 19# with this program; if not, write to the Free Software Foundation, Inc.,
20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 21
22from django.core.management.base import NoArgsCommand 22from django.core.management.base import BaseCommand
23 23
24from orm.models import LayerSource, Layer, Release, Layer_Version 24from orm.models import LayerSource, Layer, Release, Layer_Version
25from orm.models import LayerVersionDependency, Machine, Recipe 25from orm.models import LayerVersionDependency, Machine, Recipe
@@ -56,7 +56,7 @@ class Spinner(threading.Thread):
56 self.signal = False 56 self.signal = False
57 57
58 58
59class Command(NoArgsCommand): 59class Command(BaseCommand):
60 args = "" 60 args = ""
61 help = "Updates locally cached information from a layerindex server" 61 help = "Updates locally cached information from a layerindex server"
62 62
@@ -307,5 +307,5 @@ class Command(NoArgsCommand):
307 307
308 os.system('setterm -cursor on') 308 os.system('setterm -cursor on')
309 309
310 def handle_noargs(self, **options): 310 def handle(self, **options):
311 self.update() 311 self.update()