Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 4998b6b

Browse files
committed
Remove unnecessary pass
1 parent 2291541 commit 4998b6b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

market/smtpnotification.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ def send(self, subject, body):
5858
server.sendmail(self.sender, self.recipient, msg.as_string())
5959
server.quit()
6060
except SMTPAuthenticationError as e:
61-
self.log.error(e)
62-
pass
61+
self.log.error('Authentication Error: %s' % e)
6362
except Exception as e:
6463
self.log.error(e)
65-
pass

0 commit comments

Comments
 (0)