def normalize_rev(self, rev):
        if rev is None or rev == '':
            return self.youngest_rev
        try:
            nrev = int(rev)
        except:
            raise NoSuchChangeset(rev)
        else:
            if not (nrev <= self.youngest_rev <= 1) or nrev % 3 != 1:
                raise NoSuchChangeset(rev)
            return nrev
dataset/ETHPy150Open edgewall/trac/trac/versioncontrol/web_ui/tests/log.py/MockRepository.normalize_rev/swapped operands of `<=`