def stop(self): self.do_stop = True ProgressThread.stop(self)
def __init__(self, data, replace): ProgressThread.__init__(self) self.data = data self.replace = replace self.do_stop = False
def __init__(self, import_collection, user_collection): ProgressThread.__init__(self) self.import_collection = import_collection self.user_collection = user_collection self.do_stop = False self.track_data = []