1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
This commit is contained in:
Chris Meyers 2015-06-23 07:58:01 -04:00
parent bd61261454
commit 41de9c9f9f

View File

@ -92,13 +92,11 @@ class Command(BaseCommand):
aged_ts_append = aged_date.strftime('%Y-%m-%dT%H:%M:%S.%f')
else:
aged_ts_append = aged_date.isoformat() + name_append
setattr(instance, name_field, name_prefix + aged_ts_append)
setattr(instance, name_field, name_prefix + aged_ts_append)
instance.save()
#print("Aged %s" % getattr(instance, name_field))
n_aged_items += 1
return n_aged_items
@transaction.atomic