Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gabriel Silva Vinha
codespeed
Commits
84082ac6
Commit
84082ac6
authored
Aug 01, 2017
by
Miquel Torres
Browse files
Fix exception handling for Python3
parent
76132b9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
sample_project/client.py
View file @
84082ac6
...
...
@@ -117,6 +117,6 @@ if __name__ == "__main__":
try
:
save_to_speedcenter
(
**
kwargs
)
sys
.
exit
(
0
)
except
StandardError
,
e
:
except
StandardError
as
e
:
logging
.
error
(
"Error saving results: %s"
,
e
)
sys
.
exit
(
1
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment