def _get_template(self, kind):
        """Retrieve email subject or body template from settings."""
        template = self._settings.get('%s_template' % kind)
        if isinstance(template, list):
            template = os.linesep.join(template)
        return template
dataset/ETHPy150Open Xion/SublimeScold/plugin.py/Scold._get_template/original