Merge pull request #111 from ramielrowe/master
Promoting Usage Seed Bugfix to Stable
This commit is contained in:
commit
708ee75cac
@ -189,6 +189,7 @@ def seed(period_length):
|
|||||||
else:
|
else:
|
||||||
if task_state in in_flight_tasks:
|
if task_state in in_flight_tasks:
|
||||||
if (instance['deleted'] != 0 and
|
if (instance['deleted'] != 0 and
|
||||||
|
instance['deleted_at'] is not None and
|
||||||
instance['deleted_at'] >= start):
|
instance['deleted_at'] >= start):
|
||||||
# Just in case...
|
# Just in case...
|
||||||
deletes.append(_delete_for_instance(instance))
|
deletes.append(_delete_for_instance(instance))
|
||||||
@ -199,6 +200,7 @@ def seed(period_length):
|
|||||||
task=task_state))
|
task=task_state))
|
||||||
else:
|
else:
|
||||||
if (instance['deleted'] != 0 and
|
if (instance['deleted'] != 0 and
|
||||||
|
instance['deleted_at'] is not None and
|
||||||
instance['deleted_at'] >= start):
|
instance['deleted_at'] >= start):
|
||||||
deletes.append(_delete_for_instance(instance))
|
deletes.append(_delete_for_instance(instance))
|
||||||
usages.append(_usage_for_instance(instance))
|
usages.append(_usage_for_instance(instance))
|
||||||
|
Loading…
Reference in New Issue
Block a user