From 1f20b9df5c68cceba6fd41ed812fba349d51f84d Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 12 Sep 2013 17:01:32 -0700 Subject: [PATCH] Add reqs file --- proof_of_concept.py | 3 ++- requirements.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 requirements.txt 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