def InsertInt16Arg(self, string="", **_):
    """Inserts an Integer in base16 argument."""
    try:
      int_value = int(string, 16)
      return self.InsertArg(int_value)
    except (TypeError, ValueError):
      raise ParseError("%s is not a valid base16 integer." % string)
dataset/ETHPy150Open google/grr/grr/lib/objectfilter.py/Parser.InsertInt16Arg/original