Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
capisuite
capisuite-0.4.5-date.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File capisuite-0.4.5-date.diff of Package capisuite
Index: capisuite-0.4.5/scripts/cs_helpers.pyin =================================================================== --- capisuite-0.4.5.orig/scripts/cs_helpers.pyin +++ capisuite-0.4.5/scripts/cs_helpers.pyin @@ -166,11 +166,12 @@ def uniqueName(directory,basename,suffix # @param text a string containing the text of the first part of the mail # @param attachment name of the file to send as attachment def sendMIMEMail(mail_from,mail_to,mail_subject,mail_type,text,attachment): - import email.MIMEBase,email.MIMEText,email.MIMEAudio,email.Encoders,encodings.ascii,smtplib,popen2,capisuite + import email.MIMEBase,email.MIMEText,email.MIMEAudio,email.Encoders,encodings.ascii,smtplib,popen2,capisuite,datetime msg = email.MIMEBase.MIMEBase("multipart","mixed") msg['Subject']=mail_subject msg['From']=mail_from msg['To']=mail_to + msg['Date']=datetime.datetime.utcnow().strftime("%a, %d %b %Y %H:%M:%S +0000") msg.preamble = 'This is a Multipart-MIME-message. Please use a capable mailer.\n' msg.epilogue = '' # To guarantee the message ends with a newline
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor