diff --git a/marrow/mailer/transport/postmark.py b/marrow/mailer/transport/postmark.py index 4e0e75c..0b7733b 100644 --- a/marrow/mailer/transport/postmark.py +++ b/marrow/mailer/transport/postmark.py @@ -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()