From 20bb9fe54bf87467c00ffe9d6611b22b496a0aa1 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Mon, 17 Jun 2019 21:12:50 +0200 Subject: [PATCH] Remove debug log --- bda/migrations/0015_move_bda_payment.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bda/migrations/0015_move_bda_payment.py b/bda/migrations/0015_move_bda_payment.py index 261cf483..93f121a1 100644 --- a/bda/migrations/0015_move_bda_payment.py +++ b/bda/migrations/0015_move_bda_payment.py @@ -23,8 +23,7 @@ def set_participant_payment(apps, schema_editor): attr_set.values_list("paymenttype", flat=True).distinct().get() ) # Sinon, whatever - except (ObjectDoesNotExist, MultipleObjectsReturned) as e: - print(e) + except (ObjectDoesNotExist, MultipleObjectsReturned): pass part.save()