From d7e3bddeb421a7e098d52856db8ad58e815490e5 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Tue, 8 Nov 2022 11:54:00 -0400 Subject: [PATCH] feat: include command name in output when purging api key events (#4724) --- .../management/commands/purge_old_personal_api_key_events.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ietf/person/management/commands/purge_old_personal_api_key_events.py b/ietf/person/management/commands/purge_old_personal_api_key_events.py index 47674e2d5..a32edf866 100644 --- a/ietf/person/management/commands/purge_old_personal_api_key_events.py +++ b/ietf/person/management/commands/purge_old_personal_api_key_events.py @@ -28,10 +28,9 @@ class Command(BaseCommand): if keep_days < 0: raise CommandError('Negative keep_days not allowed ({} was specified)'.format(keep_days)) + self.stdout.write('purge_old_personal_api_key_events: Finding events older than {}\n'.format(_format_count(keep_days))) if dry_run: self.stdout.write('Dry run requested, records will not be deleted\n') - - self.stdout.write('Finding events older than {}\n'.format(_format_count(keep_days))) self.stdout.flush() now = timezone.now()