From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../toaster/toastermain/management/commands/buildslist.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bitbake/lib/toaster/toastermain/management/commands/buildslist.py (limited to 'bitbake/lib/toaster/toastermain/management/commands/buildslist.py') diff --git a/bitbake/lib/toaster/toastermain/management/commands/buildslist.py b/bitbake/lib/toaster/toastermain/management/commands/buildslist.py new file mode 100644 index 0000000000..cad987fd93 --- /dev/null +++ b/bitbake/lib/toaster/toastermain/management/commands/buildslist.py @@ -0,0 +1,13 @@ +from django.core.management.base import NoArgsCommand, CommandError +from orm.models import Build +import os + + + +class Command(NoArgsCommand): + args = "" + help = "Lists current builds" + + def handle_noargs(self,**options): + for b in Build.objects.all(): + print "%d: %s %s %s" % (b.pk, b.machine, b.distro, ",".join([x.target for x in b.target_set.all()])) -- cgit v1.2.3-54-g00ecf