2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-14 00:09:56 +00:00

PEP fixes

This commit is contained in:
Oliver Walters
2019-05-18 20:24:09 +10:00
parent a3d1591929
commit cdc55bb5d3
8 changed files with 87 additions and 89 deletions

View File

@@ -7,8 +7,6 @@ from __future__ import unicode_literals
import os
import math
import tablib
from django.utils.translation import gettext_lazy as _
@@ -617,7 +615,6 @@ class Part(models.Model):
return max_price
def deepCopy(self, other, **kwargs):
""" Duplicates non-field data from another part.
Does not alter the normal fields of this part,
@@ -855,4 +852,3 @@ class BomItem(models.Model):
base_quantity = self.quantity * build_quantity
return base_quantity + self.get_overage_quantity(base_quantity)