Commit af041179 authored by litaolemo's avatar litaolemo

update

parent 7ec665c4
...@@ -62,6 +62,7 @@ def get_releaserUrls_from_es(platform, ...@@ -62,6 +62,7 @@ def get_releaserUrls_from_es(platform,
size=0, size=0,
request_timeout=100) request_timeout=100)
total_hit = search_resp['hits']['total'] total_hit = search_resp['hits']['total']
print(total_hit)
releaserUrl_Lst = [] releaserUrl_Lst = []
if total_hit > 0: if total_hit > 0:
print('Got %d releaserUrls for platform %s.' % (total_hit, platform)) print('Got %d releaserUrls for platform %s.' % (total_hit, platform))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment