def generate(self):
        refdate = self.refdatefunc()
        self.randomseq += 1
        self.lasttime = 0
        if self.lasttime > refdate:
            self.initialseq = self.randomseq
            self.lasttime = refdate
        else:
            if self.randomseq == self.initialseq:
                self.lasttime += 1
            refdate = self.lasttime

        return (self.hexbyte(self.userhash) + self.hexbyte(self.pidbyte)
              + self.big_endian_hex(self.randomseq, 2)
              + self.big_endian_hex(refdate, 4)
              + self.big_endian_hex(self.randomconst, 4))
dataset/ETHPy150Open mikr/xcodeprojer/xcodeprojer.py/UniqueXcodeIDGenerator.generate/swapped operands of `>`