Show More
@@ -165,7 +165,7 b' def _smtp(ui):' | |||||
165 | try: |
|
165 | try: | |
166 | s.login(username, password) |
|
166 | s.login(username, password) | |
167 | except smtplib.SMTPException as inst: |
|
167 | except smtplib.SMTPException as inst: | |
168 | raise error.Abort(inst) |
|
168 | raise error.Abort(stringutil.forcebytestr(inst)) | |
169 |
|
169 | |||
170 | def send(sender, recipients, msg): |
|
170 | def send(sender, recipients, msg): | |
171 | try: |
|
171 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now