diff --git a/proof_of_concept.py b/proof_of_concept.py index 7ce65abd..07cad4d4 100755 --- a/proof_of_concept.py +++ b/proof_of_concept.py @@ -21,7 +21,8 @@ for x in results['hits']['hits']: try: change = x["_source"]['@fields']['build_change'] patchset = x["_source"]['@fields']['build_patchset'] - print x["_source"]['@timestamp'] + #print x["_source"]['@timestamp'] + #print x["_source"]['@fields']['received_at'][0] print "https://review.openstack.org/#/c/%(change)s/%(patchset)s" % locals() except KeyError: print "build_name %s" % x["_source"]['@fields']['build_name'] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..9f5e4c70 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pyelasticsearch +gerritlib