diff --git a/awx/main/management/commands/age_deleted.py b/awx/main/management/commands/age_deleted.py index 02d1515347..0a386851e4 100644 --- a/awx/main/management/commands/age_deleted.py +++ b/awx/main/management/commands/age_deleted.py @@ -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