2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-04 22:36:00 +00:00

PEP fixes

This commit is contained in:
Oliver Walters 2019-05-13 21:42:05 +10:00
parent 2408318eae
commit 00f7ece6b4
2 changed files with 1 additions and 2 deletions
InvenTree/part

@ -534,7 +534,7 @@ class Part(models.Model):
return self.supplier_parts.count()
def copyBomFrom(self, other):
""" Duplicates the BOM from another part.
""" Duplicates the BOM from another part.
This should only be called during part creation,
and it does not delete any existing BOM items for *this* part.

@ -235,7 +235,6 @@ class PartDuplicate(AjaxCreateView):
return initials
class PartCreate(AjaxCreateView):
""" View for creating a new Part object.