diff options
Diffstat (limited to 'examples/astat.py')
-rwxr-xr-x | examples/astat.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/astat.py b/examples/astat.py index 100b9d3..ef5c3a9 100755 --- a/examples/astat.py +++ b/examples/astat.py @@ -35,7 +35,6 @@ from __future__ import print_function from __future__ import absolute_import import os, sys, time, re, getopt, getpass -import traceback import pexpect, pxssh @@ -94,10 +93,4 @@ def main(): print(requests_per_second) if __name__ == "__main__": - try: - main() - except Exception as e: - print(str(e)) - traceback.print_exc() - os._exit(1) - + main() |