def get_results_raw_url(build):
 import re
 log = get_vbench_log(('https://api.travis-ci.org/builds/%s' % build))
 if (not log):
  return
 l = [x.strip() for x in log.split('\n') if re.match('.vbench-gist-raw_url', x)]
 if l:
  s = l[0]
  m = re.search('(https://[^\\s]+)', s)
  if m:
   return m.group(0)

def get_results_raw_url ( build ) : import re log = get_vbench_log ( ( 'https://api.travis-ci.org/builds/%s' % build ) ) if ( not log ) : return l = [ x . strip ( ) for x in log . split ( '\n' ) if re . match ( '.vbench-gist-raw_url' , x ) ] if l : s = l [ 0 ] m = re . search ( '(https://[^\\s]+)' , s ) if m : return m . group ( 0 )
taks a travis a build number .