From 1a875811b76451953f5cbf486522624139975867 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 28 Mar 2017 23:44:32 +1100 Subject: [PATCH] not a pep --- InvenTree/project/models.py | 2 +- InvenTree/stock/views.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/InvenTree/project/models.py b/InvenTree/project/models.py index 9fca272434..a46b641d39 100644 --- a/InvenTree/project/models.py +++ b/InvenTree/project/models.py @@ -40,7 +40,7 @@ class ProjectPart(models.Model): """ A project part associates a single part with a project The quantity of parts required for a single-run of that project is stored. The overage is the number of extra parts that are generally used for a single run. - """ + """ # Overage types OVERAGE_PERCENT = 0 diff --git a/InvenTree/stock/views.py b/InvenTree/stock/views.py index 3f59330313..99d4ea69ac 100644 --- a/InvenTree/stock/views.py +++ b/InvenTree/stock/views.py @@ -9,5 +9,6 @@ def index(request): warehouses = Warehouse.objects.filter(parent=None) return render(request, 'stock/index.html', - {'warehouses': warehouses + { + 'warehouses': warehouses })