Skip to content

Commit

Permalink
just assert the right number of rows were updated, don't log
Browse files Browse the repository at this point in the history
  • Loading branch information
tkaemming committed Mar 13, 2024
1 parent a8708e9 commit af95b5d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def execute(self, dry_run: bool = False) -> None:
[self.team_id],
)
)
logger.info("Completed %r, marked %s team as backfilled.", self, len(updated_teams))
assert not len(updated_teams) > 1

logger.info("Completed %r!", self)


class Command(BaseCommand):
Expand Down

0 comments on commit af95b5d

Please sign in to comment.