예제 #1
0
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)), )
예제 #2
0
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)),)
예제 #3
0
def create_all_actual_timetables():
    for seg_id in db.get_segment_IDs(True):
        create_actual_timetable(seg_id)
예제 #4
0
def create_all_actual_timetables():
  for seg_id in db.get_segment_IDs(True):
    create_actual_timetable(seg_id)