def __init__(self, user_id): BaseTimelineFile.__init__(self, user_id) # Obtain a copy of the file and read all the contents in memory self.local_copy = download(user_id, 'twt') self.local_copy.seek(0, 0) self.first, self.last, self.total = load_extents(self.local_copy) self.local_copy.seek(0, 2) self.update_buff = []
def __init__(self, user_id): BaseTimelineFile.__init__(self, user_id)