def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def delete(arg=None):
	frappe.get_doc("Communication", frappe.form_dict['name']).delete()