From 0faba39dfc900c11e3061e4c87425fb6a9f1c7d7 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 19 Aug 2020 14:06:18 +1000 Subject: [PATCH] PEP: Remove unused variable (cherry picked from commit e49a1c1ad21da10b67391df60d9f1410456fe4d0) --- InvenTree/part/bom.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/InvenTree/part/bom.py b/InvenTree/part/bom.py index fae9eb7b5f..86b33bc02f 100644 --- a/InvenTree/part/bom.py +++ b/InvenTree/part/bom.py @@ -114,9 +114,6 @@ def ExportBom(part, fmt='csv', cascade=False, max_levels=None, supplier_data=Fal # Filter supplier parts supplier_parts = SupplierPart.objects.filter(part__pk=b_part.pk) - # Construct supplier-part data - supplier_part_list = [] - for idx, supplier_part in enumerate(supplier_parts): if supplier_part.supplier: