2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-09 20:21:24 +00:00

PEP style fixes

This commit is contained in:
Oliver Walters
2020-04-22 22:24:06 +10:00
parent fd42149f67
commit 26d1a25f31
4 changed files with 3 additions and 5 deletions

View File

@@ -1227,7 +1227,7 @@ class SalesOrderAllocationCreate(AjaxCreateView):
# Hide the 'line' field
form.fields['line'].widget = HiddenInput()
except KeyError: # (ValueError, SalesOrderLineItem.DoesNotExist):
except (ValueError, SalesOrderLineItem.DoesNotExist):
pass
return form