Skip to content

Commit

Permalink
spacing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlovelltroy committed Nov 25, 2013
1 parent f4bb74e commit ad210c9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions classy_mail/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def send(self):
self.msg = self.build_msg()
self.msg.send()


class BaseTemplateMixin(object):
_context_obj = None

Expand Down Expand Up @@ -133,7 +132,6 @@ def build_msg(self):
self._msg.attach_alternative(self.render_html_template(), 'text/html')
return self._msg


class FileTemplateMixin(BaseTemplateMixin):

def get_subject_template(self):
Expand All @@ -148,7 +146,6 @@ def get_html_template(self):
template_name = "%s_body.html" % self.get_template_name()
return _resolve_template(template_name)


class ModelTemplateMixin(BaseTemplateMixin):
_template = None

Expand All @@ -169,7 +166,6 @@ def get_html_template(self):
return Template(template_content)
return None


class SiteContextMixin(object):
def get_context(self):
context = super(SiteContextMixin, self).get_context()
Expand All @@ -194,9 +190,6 @@ def send(self, log_msg=True):
else:
self.msg.send()




class SimpleEmail(BaseEmail):
"""This email needs everything passed in to init"""

Expand All @@ -215,7 +208,6 @@ def build_msg(self):
self._msg.attach_alternative(self.get_html_content(), 'text/html')
return self._msg


class ModelTemplateEmail(LogMessageMixin, ModelTemplateMixin, BaseEmail):
pass

Expand Down

0 comments on commit ad210c9

Please # to comment.