|
|
@ -46,8 +46,8 @@ def main():
|
|
|
|
time, states, jobstates = get_data()
|
|
|
|
time, states, jobstates = get_data()
|
|
|
|
assert time not in ts.data
|
|
|
|
assert time not in ts.data
|
|
|
|
ts.data[time] = (states, jobstates)
|
|
|
|
ts.data[time] = (states, jobstates)
|
|
|
|
ts.states |= states
|
|
|
|
ts.states |= states.keys()
|
|
|
|
ts.jobstates |= jobstates
|
|
|
|
ts.jobstates |= jobstates.keys()
|
|
|
|
|
|
|
|
|
|
|
|
# Save the pickle
|
|
|
|
# Save the pickle
|
|
|
|
# Should probably save elsewhere and do atomic rename, but whatever.
|
|
|
|
# Should probably save elsewhere and do atomic rename, but whatever.
|
|
|
|