From c804ff2b613b82acb28f7f3a104e1c77f9ac1fd6 Mon Sep 17 00:00:00 2001 From: Jens Kleineheismann Date: Thu, 20 Dec 2018 16:40:25 +0100 Subject: [PATCH] UPD: removed obsolete comments. --- dav_base/emails.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/dav_base/emails.py b/dav_base/emails.py index a92d848..5e498d6 100644 --- a/dav_base/emails.py +++ b/dav_base/emails.py @@ -14,13 +14,11 @@ class AbstractMail(object): _template_name = None def _get_sender(self): - #app_config = apps.get_containing_app_config(__package__) return app_config.settings.email_sender def _get_subject(self, subject_fmt=None, **kwargs): if subject_fmt is None: subject_fmt = self._subject - #app_config = apps.get_containing_app_config(__package__) if app_config.settings.email_subject_prefix: subject_fmt = u'%s %s' % (app_config.settings.email_subject_prefix, subject_fmt) subject = subject_fmt.format(**kwargs) @@ -32,7 +30,6 @@ class AbstractMail(object): return get_template(self._template_name, using='PLAINTEXT') def _get_context_data(self, extra_context=None): - #app_config = apps.get_containing_app_config(__package__) context = { 'base_url': app_config.settings.email_base_url, }