chore: whitespace cleanup from codebase

This commit is contained in:
Ankush Menat
2021-08-19 14:33:03 +05:30
parent e536f6d13f
commit 9bb69e711a
1218 changed files with 1391 additions and 1643 deletions

View File

@@ -7,5 +7,3 @@ from frappe.model.document import Document
class ChapterMember(Document):
pass

View File

@@ -217,4 +217,3 @@ def notify_failure(log):
sendmail_to_system_managers(_('[Important] [ERPNext] Razorpay donation webhook failed, please check.'), content)
except Exception:
pass

View File

@@ -13,4 +13,4 @@ def get_data():
'items': ['Payment Entry']
}
]
}
}

View File

@@ -73,4 +73,4 @@ def create_mode_of_payment():
'company': '_Test Company',
'default_account': 'Cash - _TC'
}]
}).insert()
}).insert()

View File

@@ -15,4 +15,3 @@ class Donor(Document):
from frappe.utils import validate_email_address
if self.email:
validate_email_address(self.email.strip(), True)

View File

@@ -55,4 +55,4 @@ def send_grant_review_emails(grant_application):
grant.save()
frappe.db.commit()
frappe.msgprint(_("Review Invitation Sent"))
frappe.msgprint(_("Review Invitation Sent"))

View File

@@ -61,4 +61,4 @@ frappe.ui.form.on('Member', {
}
});
}
});
});

View File

@@ -159,4 +159,4 @@ def get_subscription_payload():
}
}
}
}
}

View File

@@ -15,4 +15,4 @@ class MembershipType(Document):
frappe.throw(_("The Linked Item should be a service item"))
def get_membership_type(razorpay_id):
return frappe.db.exists("Membership Type", {"razorpay_plan_id": razorpay_id})
return frappe.db.exists("Membership Type", {"razorpay_plan_id": razorpay_id})

View File

@@ -35,4 +35,4 @@ class NonProfitSettings(Document):
def get_plans_for_membership(*args, **kwargs):
controller = get_payment_gateway_controller("Razorpay")
plans = controller.get_plans()
return [plan.get("item") for plan in plans.get("items")]
return [plan.get("item") for plan in plans.get("items")]

View File

@@ -1,3 +1,3 @@
frappe.ready(function() {
// bind events here
});
});

View File

@@ -4,5 +4,3 @@ def get_context(context):
context.no_cache = True
context.parents = [dict(label='View All ',
route='grant-application', title='View All')]