mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-06 05:30:56 +00:00
PEP style fixes
This commit is contained in:
@ -695,11 +695,11 @@ class Build(MPTTModel, ReferenceIndexingMixin):
|
||||
)
|
||||
|
||||
if auto_allocate and serial is not None:
|
||||
|
||||
|
||||
# Get a list of BomItem objects which point to "trackable" parts
|
||||
|
||||
for bom_item in self.part.get_trackable_parts():
|
||||
|
||||
|
||||
parts = bom_item.get_valid_parts_for_allocation()
|
||||
|
||||
for part in parts:
|
||||
@ -725,7 +725,6 @@ class Build(MPTTModel, ReferenceIndexingMixin):
|
||||
install_into=output,
|
||||
)
|
||||
|
||||
|
||||
else:
|
||||
"""
|
||||
Create a single build output of the given quantity
|
||||
|
Reference in New Issue
Block a user