Skip to content

Commit 5d0e720

Browse files
committed
Python 3 support
1 parent 5e14a6f commit 5d0e720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

predictionio/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def set_resp(self, version, status, reason, headers, body):
153153
# Try to extract the json.
154154
try:
155155
self.json_body = json.loads(body)
156-
except ValueError, ex:
156+
except ValueError as ex:
157157
self.json_body = None
158158

159159
def set_error(self, error):

0 commit comments

Comments
 (0)