Skip to content

Commit

Permalink
Fixed Py3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzymadness committed Jul 20, 2016
1 parent a0469f8 commit e0b0995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marrow/mailer/transport/postmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _batchsend(self):

try:
response = urllib2.urlopen(request)
except (urllib2.HTTPError, urllib2.URLError), e:
except (urllib2.HTTPError, urllib2.URLError) as e:
raise DeliveryFailedException(e, "Could not connect to Postmark.")
else:
respcode = response.getcode()
Expand Down

0 comments on commit e0b0995

Please sign in to comment.