def encode(self, request, value):
        if self.digits:
            minus = '-' if value < 0 else ''
            return ((minus, self.digits) % '%s%%0%dd') % abs(value)

        else:
            return str(value)
dataset/ETHPy150Open ecdavis/pants/pants/web/application.py/Integer.encode/swapped operands of `%`