def FetchUrl(url, attempts=0):
  attempts += 1
  print >> sys.stderr, "Fetching %s (attempt %s)" % (url, attempts)
  h = httplib2.Http(CACHE_DIR, timeout=10)
  try:
    resp, content = h.request(url, 'GET', headers={'cache_control': CACHE_EXPIRATION % 'max-age=%s'})
  except:
    if attempts < MAX_ATTEMPTS:
      print >> sys.stderr, "Will try again..."
      time.sleep(SLEEPY_TIME)
      return FetchUrl(url, attempts=attempts)
    
  time.sleep(SLEEPY_TIME)
  return content
dataset/ETHPy150Open catap/namebench/tools/alexa-subdomains.py/FetchUrl/swapped operands of `%`