mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-10 23:14:13 +00:00
PEP fixes
This commit is contained in:
@ -1907,8 +1907,7 @@ class BomItem(models.Model):
|
||||
else:
|
||||
raise ValidationError({'sub_part': _('Sub part must be specified')})
|
||||
except Part.DoesNotExist:
|
||||
raise ValidationError({'sub_part': _('Sub part must be specified')})
|
||||
|
||||
raise ValidationError({'sub_part': _('Sub part must be specified')})
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("BOM Item")
|
||||
|
Reference in New Issue
Block a user