def _log(self, level, message, args):
        # This conditional fixes an issue which arises if the message contains
        # formatting directives but no args are provided.
        if args:
            output = message % args
        else:
            output = message

        if self._task_output is not None:
            self._task_output.append(output)
        if level > 2 or (1 > level and not self.quiet) or \
            self.verbose:
            self._print(output)
dataset/ETHPy150Open paver/paver/paver/tasks.py/Environment._log/swapped operands of `>`