euscan-ng/euscanwww/djeuscan/management/commands/stabilization_candidates.py
volpino b5b05e9502 euscanwww: Added PoC of stabilization candidates feature
Signed-off-by: volpino <fox91@anche.no>
2013-02-23 18:43:43 +01:00

16 lines
468 B
Python

import logging
from django.core.management.base import BaseCommand
from djeuscan.processing import set_verbosity_level
from djeuscan.processing.misc import stabilization_candidates
logger = logging.getLogger(__name__)
class Command(BaseCommand):
_overlays = {}
help = 'Collect stabilization candidates'
def handle(self, *args, **options):
set_verbosity_level(logger, options.get("verbosity", 1))
stabilization_candidates(logger=logger)