mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP style fixes
This commit is contained in:
parent
b387b4e173
commit
566fd87e86
@ -100,7 +100,7 @@ class BuildOutputCreate(AjaxUpdateView):
|
||||
|
||||
# Check that requested output don't exceed build remaining quantity
|
||||
maximum_output = int(build.remaining - build.incomplete_count)
|
||||
|
||||
|
||||
if quantity > maximum_output:
|
||||
form.add_error(
|
||||
'output_quantity',
|
||||
@ -112,7 +112,7 @@ class BuildOutputCreate(AjaxUpdateView):
|
||||
'output_quantity',
|
||||
_('Output quantity must be greater than zero'),
|
||||
)
|
||||
|
||||
|
||||
# Check that the serial numbers are valid
|
||||
if serials:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user