From 1bc6dac659a1da364c946d89e9a0fc1e21a54c14 Mon Sep 17 00:00:00 2001 From: Andrew Melton Date: Tue, 9 Apr 2013 15:01:24 -0400 Subject: [PATCH] Removing fake request_id from past deletes migration --- migrations/010_populate_past_deletes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/migrations/010_populate_past_deletes.py b/migrations/010_populate_past_deletes.py index 231cae7..813c1cd 100644 --- a/migrations/010_populate_past_deletes.py +++ b/migrations/010_populate_past_deletes.py @@ -24,14 +24,12 @@ def add_past_deletes(start, end): i = 0 for exist in exists: i += 1 - print i if models.InstanceDeletes.objects\ .filter(instance=exist.instance).count() == 0: # No deletes found for an instance that was deleted. values = {'instance': exist.instance, 'launched_at': exist.launched_at, - 'deleted_at': exist.deleted_at, - 'request_id': 'req-fake-delete'} + 'deleted_at': exist.deleted_at} print values models.InstanceDeletes(**values).save()