def handle(self, *args, **options):
        try:
            from celery.task.control import broadcast
        except __HOLE__:
            raise CommandError("Celery is not currently installed.")
        
        # Shut them all down.
        broadcast("shutdown")
dataset/ETHPy150Open duointeractive/django-fabtastic/fabtastic/management/commands/ft_celeryd_restart.py/Command.handle