From 90753820f0082bdac96dfab38ecbdb2dcbec35ac Mon Sep 17 00:00:00 2001 From: BJ Dierkes Date: Mon, 26 Feb 2024 23:42:35 -0600 Subject: [PATCH] Remove Comments --- cement/ext/ext_smtp.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/cement/ext/ext_smtp.py b/cement/ext/ext_smtp.py index 585eb3f1..e6b2af17 100644 --- a/cement/ext/ext_smtp.py +++ b/cement/ext/ext_smtp.py @@ -186,21 +186,6 @@ class SMTPMailHandler(mail.MailHandler): path = fs.abspath(path) - # filename = os.path.basename(path) - - # # test for divider in filename - # i = filename.find('=') - - # # split attname from filename - # if i < 0: - # attname = filename - # else: - # attname = filename[i+1:] - # filename = filename[0:i] - - # # update the filename to read from - # path = fs.join(os.path.dirname(path), filename) - # add attachment with open(path, 'rb') as file: part.set_payload(file.read())