bug fix ...

dev
Steve L. Nyemba 3 years ago
parent 14933b877f
commit 4ed0e31aa5

@ -652,17 +652,17 @@ if __name__ == '__main__' :
DIRTY =1 DIRTY =1
jobs = [job for job in jobs if job.is_alive()] jobs = [job for job in jobs if job.is_alive()]
time.sleep(2) time.sleep(2)
if DIRTY: # if DIRTY:
print (["..:: jobs finished "]) # print (["..:: jobs finished "])
# #
# We need to harmonize the keys if any at all in this case we do this for shuffle or generate operations # We need to harmonize the keys if any at all in this case we do this for shuffle or generate operations
# #
print (['finalize' in SYS_ARGS, ('generate' in SYS_ARGS or 'shuffle' in SYS_ARGS) ])
if 'autopilot' in SYS_ARGS or 'finalize' in SYS_ARGS or ('generate' in SYS_ARGS or 'shuffle' in SYS_ARGS) : if 'autopilot' in SYS_ARGS or 'finalize' in SYS_ARGS or ('generate' in SYS_ARGS or 'shuffle' in SYS_ARGS) :
# #
# We should pull all the primary keys and regenerate them in order to insure some form of consistency # We should pull all the primary keys and regenerate them in order to insure some form of consistency
# #
print (["..:: jobs finished "])
(Components()).finalize(args) (Components()).finalize(args)
# finalize(args) # finalize(args)
pass pass

Loading…
Cancel
Save