mirror of
https://github.com/not-kennethreitz/elephant.git
synced 2026-06-05 23:20:19 +00:00
Update elephant.py
This commit is contained in:
+1
-3
@@ -12,8 +12,6 @@ import requests
|
||||
from flask import Flask, request, Response, jsonify, redirect
|
||||
from flask.ext.script import Manager
|
||||
from clint.textui import progress
|
||||
# from boto.s3.connection import S3Connection
|
||||
# from boto.exception import S3ResponseError
|
||||
from pyelasticsearch import ElasticSearch
|
||||
from pyelasticsearch.exceptions import IndexAlreadyExistsError
|
||||
|
||||
@@ -283,4 +281,4 @@ def delete_record(collection, uuid):
|
||||
return redirect('/{}/'.format(collection))
|
||||
|
||||
if __name__ == '__main__':
|
||||
manager.run()
|
||||
manager.run()
|
||||
|
||||
Reference in New Issue
Block a user