summaryrefslogtreecommitdiffstats
path: root/test-wallace.py
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-05-04 15:53:48 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-05-04 15:53:48 +0200
commitc204eaaa2c9a006432fe00489a352833143db01d (patch)
tree18860f2e335b9a98d34f404d5c4b81d22f2ce222 /test-wallace.py
parent4a24e0cc403321713ee1201ade9d36956da1c060 (diff)
downloadpykolab-c204eaaa2c9a006432fe00489a352833143db01d.tar.gz
CS fixes according to PEP8 (ignored mostly line-length errors only)
Summary: . Reviewers: #pykolab_developers Differential Revision: https://git.kolab.org/D134
Diffstat (limited to 'test-wallace.py')
-rwxr-xr-xtest-wallace.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-wallace.py b/test-wallace.py
index 7ba7ac6..92d69f4 100755
--- a/test-wallace.py
+++ b/test-wallace.py
@@ -31,6 +31,7 @@ from email.MIMEText import MIMEText
from email.Utils import COMMASPACE, formatdate
from email import Encoders
+
def send_mail(send_from, send_to, send_with=None):
smtp = smtplib.SMTP("localhost", 10026)
smtp.set_debuglevel(True)
@@ -57,7 +58,7 @@ Lucy Meier.
msg.attach( MIMEText(text) )
- #msg.attach( MIMEBase('application', open('/boot/initrd-plymouth.img').read()) )
+ # msg.attach( MIMEBase('application', open('/boot/initrd-plymouth.img').read()) )
smtp.sendmail(send_from, send_to, msg.as_string())