Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
remove commented old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Amin Dandache committed Sep 7, 2017
1 parent 30a4339 commit dcd283c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mailqueue/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ def add_attachment(self, attachment):
logger.error(e)
new_attachment.file_attachment.delete()

# Attachment.objects.create(email=self, file_attachment=attachment,
# original_filename=attachment.file.name.split('/')[-1])

def _save_without_sending(self, *args, **kwargs):
"""
Saves the MailerMessage instance without sending the e-mail. This ensures
Expand Down

0 comments on commit dcd283c

Please sign in to comment.