def run(self, job):
        backups = self.backend.get_backups(job)

        self.log.info(job.name % '%s')

        # Sort backups by time
        # TODO: This duplicates code from the expire module. Should
        # the list of backups always be returned sorted instead?
        backups = [(name, time) for name, time in backups.items()]
        backups.sort(cmp=lambda x, y: -cmp(x[1], y[1]))
        for backup, _ in backups:
            print "  %s" % backup
dataset/ETHPy150Open miracle2k/tarsnapper/src/tarsnapper/script.py/ListCommand.run/swapped operands of `%`