def Parse(self, argument):
    try:
      self.value = self.parser.Parse(argument)
    except ValueError, e:  # recast ValueError as IllegalFlagValue
      raise IllegalFlagValue("flag --%s=%s: %s" % (self.name, argument, e))
    self.present += 1
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/python-gflags/gflags.py/Flag.Parse/original