def _Hash(content):
  h = hashlib.sha1(content).hexdigest()
  return _FormatHash(h)
Compute the sha1 hash of the content.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/appcfg.py/_Hash