From af5fc58a6ab476539599d765428b09e352ca1142 Mon Sep 17 00:00:00 2001 From: ChatPion Date: Fri, 26 Oct 2018 02:57:12 +0200 Subject: [PATCH 1/2] Update TROUBLESHOOTING.md Add missing parentheses after print --- TROUBLESHOOTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 580cbac..b83cb73 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -58,7 +58,7 @@ import urllib try: response = sg.client.mail.send.post(request_body=mail.get()) except urllib.error.HTTPError as e: - print e.read() + print(e.read()) ``` From 2fd7d23fba74d9a70363b98184a5c06cffae6d40 Mon Sep 17 00:00:00 2001 From: ChatPion Date: Sun, 28 Oct 2018 11:27:26 +0100 Subject: [PATCH 2/2] Update TROUBLESHOOTING.md --- TROUBLESHOOTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index b83cb73..a326b69 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -48,7 +48,7 @@ import urllib2 try: response = sg.client.mail.send.post(request_body=mail.get()) except urllib2.HTTPError as e: - print e.read() + print(e.read()) ``` To read the error message returned by SendGrid's API in Python 3.X: