Skip to content

Commit 84082ac

Browse files
committed
Fix exception handling for Python3
1 parent 76132b9 commit 84082ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample_project/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ def save_to_speedcenter(url=None, project=None, commitid=None, executable=None,
117117
try:
118118
save_to_speedcenter(**kwargs)
119119
sys.exit(0)
120-
except StandardError, e:
120+
except StandardError as e:
121121
logging.error("Error saving results: %s", e)
122122
sys.exit(1)

0 commit comments

Comments
 (0)