Skip to content

Commit

Permalink
chore: Fix pluralization in user feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Aug 10, 2023
1 parent b22bb3d commit a33369c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def remove(dataset_id, include_filtered, force):

delete_dataset_ids = new_delete_dataset_ids.copy()

click.echo(f"Removing datasets {', '.join(map(str, delete_dataset_ids))}... ", nl=False)
click.echo(f"Removing dataset(s) {', '.join(map(str, delete_dataset_ids))}... ", nl=False)

parameters = {"dataset_ids": delete_dataset_ids}
cursor.execute("DELETE FROM field_level_check WHERE dataset_id = ANY(%(dataset_ids)s)", parameters)
Expand Down Expand Up @@ -158,7 +158,7 @@ def remove(dataset_id, include_filtered, force):
drop_dataset_ids = new_drop_dataset_ids.copy()

if drop_dataset_ids:
click.echo(f"Purging datasets {', '.join(map(str, drop_dataset_ids))}... ", nl=False)
click.echo(f"Purging dataset(s) {', '.join(map(str, drop_dataset_ids))}... ", nl=False)

parameters = {"dataset_ids": drop_dataset_ids}
cursor.execute("DELETE FROM progress_monitor_dataset WHERE dataset_id = ANY(%(dataset_ids)s)", parameters)
Expand Down

0 comments on commit a33369c

Please sign in to comment.