Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Mark loop variable unused
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelhwilliams committed Nov 29, 2024
1 parent c4501d4 commit 07be75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrations/versions/~2023_11_10_1122-af78512b644f_.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def downgrade():
else:
comments_update_dict[comment_id] = [{"id": id, "comment": comment, "date_created": date_created}]

for comment_id, date_created in comments:
for comment_id, _date_created in comments:
for i_comment_id, val in comments_update_dict.items():
val = sorted(val, key=lambda x: x["date_created"])
if comment_id == i_comment_id:
Expand Down

0 comments on commit 07be75c

Please sign in to comment.