b08b35c79d86f8d796af8ec6be7c4a50425126ee,appengine/mail/send_mail.py,SendMailHandler,get,#SendMailHandler#,39

Before Change



class SendMailHandler(webapp2.RequestHandler):
    def get(self):
        send_approved_mail("%s@appspot.gserviceaccount.com" %
                           app_identity.get_application_id())
        self.response.content_type = "text/plain"
        self.response.write("Sent an email to Albert.")

After Change



class SendMailHandler(webapp2.RequestHandler):
    def get(self):
        send_approved_mail("{}@appspot.gserviceaccount.com".format(
            app_identity.get_application_id()))
        self.response.content_type = "text/plain"
        self.response.write("Sent an email to Albert.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: b08b35c79d86f8d796af8ec6be7c4a50425126ee
Time: 2016-04-28
Author: rennie@google.com
File Name: appengine/mail/send_mail.py
Class Name: SendMailHandler
Method Name: get


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: b08b35c79d86f8d796af8ec6be7c4a50425126ee
Time: 2016-04-28
Author: rennie@google.com
File Name: appengine/mail/user_signup.py
Class Name: UserSignupHandler
Method Name: post


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: b08b35c79d86f8d796af8ec6be7c4a50425126ee
Time: 2016-04-28
Author: rennie@google.com
File Name: appengine/mail/send_message.py
Class Name: SendMessageHandler
Method Name: get


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: b08b35c79d86f8d796af8ec6be7c4a50425126ee
Time: 2016-04-28
Author: rennie@google.com
File Name: appengine/mail/attachment.py
Class Name: AttachmentHandler
Method Name: post