Exemple #1
0
 def addPointEvent(self, text=[]):
     # this adds a point event, one which occurs as a single atomic
     # instant of time.
     e = Event()
     e.started = util.now()
     e.finished = 0
     e.text = text
     self.events.append(e)
     self.prune(events_only=True)
     return e  # for consistency, but they really shouldn't touch it
Exemple #2
0
 def addPointEvent(self, text=None):
     # this adds a point event, one which occurs as a single atomic
     # instant of time.
     e = Event()
     e.started = util.now()
     e.finished = 0
     if text is None:
         text = []
     e.text = text
     return e  # for consistency, but they really shouldn't touch it
Exemple #3
0
 def addPointEvent(self, text=None):
     # this adds a point event, one which occurs as a single atomic
     # instant of time.
     e = Event()
     e.started = util.now()
     e.finished = 0
     if text is None:
         text = []
     e.text = text
     return e  # for consistency, but they really shouldn't touch it
Exemple #4
0
 def addPointEvent(self, text=[]):
     # this adds a point event, one which occurs as a single atomic
     # instant of time.
     e = Event()
     e.started = util.now()
     e.finished = 0
     e.text = text
     self.events.append(e)
     self.prune(events_only=True)
     return e  # for consistency, but they really shouldn't touch it