]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/run_tasks: do not call sys.exc_clear() for clearing exception 1474/head
authorKefu Chai <kchai@redhat.com>
Wed, 13 May 2020 06:24:33 +0000 (14:24 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 13 May 2020 06:24:34 +0000 (14:24 +0800)
commit9a764652bf18fda937d45d200bb12bf137806cde
treece5a6b014366597dd1a60c8422aee80e678a99cb
parenta857ecd4642e52af86572a580e5f29e4d9f6204a
teuthology/run_tasks: do not call sys.exc_clear() for clearing exception

sys.exc_clear() was removed in Python3, see
https://docs.python.org/3/whatsnew/3.0.html#index-22. so we should not
call it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/run_tasks.py