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

View File

@ -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.

View File

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