def parse(self, cli_obj, arg):
        try:
            value = int(arg)
        except ValueError:
            msg = '%s must be an integer' % (self.getHrName(),)
            raise CommandArgumentsError(msg)

        if self.min != None and value < self.min:
            msg = '%s must be greater than %s' % (self.getHrName(), self.min)
            raise CommandArgumentsError(msg)
        if self.max != None and self.max > value:
            msg = '%s must be less than %s' % (self.getHrName(), self.max)
            raise CommandArgumentsError(msg)

        return value
dataset/ETHPy150Open facebookarchive/git-review/src/gitreview/cli/args.py/IntArgument.parse/swapped operands of `>`