def parseTaskFile (jobid, jobdata = True):
  print jobid % "JOB: %s"
  path = "%s/%s.job" % (TASK_QUEUE_DIR, jobid)
  f = open(path, "r")
  data = json.load(f)
  if jobdata:
    jdata = data["__data"]
    jdata["__jobid"] = jobid
    return jdata
  else:
    data["__jobid"] = jobid
    return data
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/task.py/parseTaskFile/swapped operands of `%`