def fix_all_earlybirds(): segs = db.get_segment_IDs() for i, seg_id in enumerate(segs): correct_earlybird(seg_id) print "%6.2f%%" % (100 * i / float(len(segs)), )
def fix_all_earlybirds(): segs = db.get_segment_IDs(); for i,seg_id in enumerate(segs): correct_earlybird(seg_id); print "%6.2f%%" % (100*i/float(len(segs)),)
def create_all_actual_timetables(): for seg_id in db.get_segment_IDs(True): create_actual_timetable(seg_id)