def GetFileLength(fh):
  pos = fh.tell()

  fh.seek(0, 2)
  length = fh.tell()
  fh.seek(pos, 0)
  return length
Function that changes user status to 'blocked' in the database.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/appcfg.py/GetFileLength--crossover with--dataset/ETHPy150Open satnet-project/server/services/accounts/models.py/UserProfileManager.block_user