fix for sending e-mail function error in job_submit.py 88/81388/1
authorYonghee Han <onstudy@samsung.com>
Tue, 26 Jul 2016 02:24:15 +0000 (11:24 +0900)
committerYonghee Han <onstudy@samsung.com>
Tue, 26 Jul 2016 02:24:15 +0000 (11:24 +0900)
Change-Id: I032dd1534e1d6b29d7993e61fe5753056fa34d28

job_submit.py

index 37571a3..49407f8 100755 (executable)
@@ -442,6 +442,8 @@ def send_mail_sr_message(info, mygerrit):
     print title
     print msg
     submitter = info['submitted'].get('submitter')
+    if info['submitted'].get('submitter_email'):
+        submitter += ' <%s>' % info['submitted'].get('submitter_email')
     if submitter:
 #        email_to = []
 #        if True: