コード例 #1
0
    def handle(self, *args, **options):
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(args[0],
                      noinput=options['noinput'],
                      log=FakeLogger(self.stdout))
コード例 #2
0
ファイル: esdelete.py プロジェクト: DWDRAEGER/kitsune
    def handle(self, *args, **options):
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(
            args[0],
            noinput=options['noinput'],
            log=FakeLogger(self.stdout))
コード例 #3
0
ファイル: esdelete.py プロジェクト: Curlified/kitsune
    def handle(self, *args, **options):
        logging.basicConfig(level=logging.INFO)
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(args[0])
コード例 #4
0
    def handle(self, *args, **options):
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(args[0])