Reduce noise in logs

This commit is contained in:
Oliver committed 2021-06-22 09:32:36 +10:00
1 parent f90730d866
commit 40fcfe1f47
3 files changed
+6 -3

No files matched your search

@@ -40,7 +40,8 @@ def assign_bom_items(apps, schema_editor):
except BomItem.DoesNotExist:
pass
print(f"Assigned BomItem for {count_valid}/{count_total} entries")
if count_total > 0:
print(f"Assigned BomItem for {count_valid}/{count_total} entries")
def unassign_bom_items(apps, schema_editor):