def __call__(self): evt = BatchEvent(myEVT_STAGE, -1, (self.njobs, self.descr)) wx.PostEvent(self._parent, evt) BatchConsumer.__call__(self)
def __init__(self, parent, descr=''): BatchConsumer.__init__(self, parent) self.descr = descr