From 25c8c4f21160593f866cc807deaedec9d13627bd Mon Sep 17 00:00:00 2001 From: Almad Date: Sun, 29 Dec 2024 19:07:57 +0100 Subject: [PATCH] Ruff it --- ddcz/migrations/0005_market_dates_20241229_1747.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddcz/migrations/0005_market_dates_20241229_1747.py b/ddcz/migrations/0005_market_dates_20241229_1747.py index fde9047..0d37d10 100644 --- a/ddcz/migrations/0005_market_dates_20241229_1747.py +++ b/ddcz/migrations/0005_market_dates_20241229_1747.py @@ -12,7 +12,7 @@ def migrate_dates(apps, schema_editor): for market in Market.objects.all(): if not market.published_varchar: sentry_sdk.capture_message( - f"Market entry without date", + "Market entry without date", level="error", extras={ "market_id": market.id, @@ -25,7 +25,7 @@ def migrate_dates(apps, schema_editor): except ValueError: # If both formats fail, report to Sentry sentry_sdk.capture_message( - f"Failed to parse date in Market record", + "Failed to parse date in Market record", level="error", extras={ "market_id": market.id,