Пример #1
0
def update_ap_data():
    """
    Gets actual AP data from the AP's top-of-ticket file.
    """
    data = i.get_ap_data()
    ne_data = i.get_ap_district_data('NE')
    me_data = i.get_ap_district_data('ME')

    i.parse_ap_data(data, ne_data, me_data)
Пример #2
0
def update_ap_data():
    """
    Gets actual AP data from the AP's top-of-ticket file.
    """
    data = i.get_ap_data()
    ne_data = i.get_ap_district_data('NE')
    me_data = i.get_ap_district_data('ME')

    i.parse_ap_data(data, ne_data, me_data)
Пример #3
0
def update_fake_ap_data():
    """
    Gets randomly assigned data from snapshot files in our timemachine.
    """
    data = i.get_fake_ap_data()
    ne_data = i.get_fake_ap_district_data('NE')
    me_data = i.get_fake_ap_district_data('ME')

    i.parse_ap_data(data, ne_data, me_data)
    write_www_files()
Пример #4
0
def update_fake_ap_data():
    """
    Gets randomly assigned data from snapshot files in our timemachine.
    """
    data = i.get_fake_ap_data()
    ne_data = i.get_fake_ap_district_data('NE')
    me_data = i.get_fake_ap_district_data('ME')

    i.parse_ap_data(data, ne_data, me_data)
    write_www_files()