def _check_time_backwards(self):
        """Make sure a clock reset didn't cause time to go backwards
        """

        now = time.time()

        if now < self.start:
            self.start = now
            self.end = self.start + self.length
def _check_time_backwards ( self ) : now = time . time ( ) if now < self . start : self . start = now self . end = self . start + self . length
Make sure a clock reset didn't cause time to go backwards