removed white spaces

This commit is contained in:
Makarand Bauskar 2017-06-23 17:58:50 +05:30 committed by GitHub
parent 9961fb82d6
commit 5e994ddf65

View File

@ -5,14 +5,12 @@ from __future__ import unicode_literals
import frappe import frappe
from frappe import _ from frappe import _
def execute(filters=None): def execute(filters=None):
if not filters: filters = {} if not filters: filters = {}
columns = get_columns() columns = get_columns()
data = get_bom_stock(filters) data = get_bom_stock(filters)
return columns, data return columns, data
def get_columns(): def get_columns():
"""return columns""" """return columns"""
columns = [ columns = [
@ -25,7 +23,6 @@ def get_columns():
return columns return columns
def get_bom_stock(filters): def get_bom_stock(filters):
conditions = "" conditions = ""
bom = filters.get("bom") bom = filters.get("bom")
@ -57,5 +54,4 @@ def get_bom_stock(filters):
WHERE WHERE
bom_item.parent = '%s' bom_item.parent = '%s'
GROUP BY bom_item.item_code""" % GROUP BY bom_item.item_code""" % (conditions, bom))
(conditions, bom))