Remove left-over debug statements

This commit is contained in:
Raphael Michel
2022-07-21 09:14:38 +02:00
parent 4cc249e20e
commit d628acc62a
9 changed files with 1 additions and 13 deletions

View File

@@ -396,7 +396,6 @@ class OrderChangeOperationSerializer(serializers.Serializer):
def validate(self, data):
seen_positions = set()
for d in data.get('patch_positions', []):
print(d, seen_positions)
if d['position'] in seen_positions:
raise ValidationError({'patch_positions': ['You have specified the same object twice.']})
seen_positions.add(d['position'])