Fix python3 compat with debug_venv.py

Change-Id: Ia7412f8ec97cae2e0c8eda84eb38822a110c1a65
This commit is contained in:
Terry Wilson 2018-07-02 12:33:22 +00:00
parent 7e980f1ae5
commit 2ee22a5484
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
from __future__ import print_function
import atexit
import os
import six
import subprocess
import sys
@ -38,7 +39,7 @@ try:
atexit.register(v.cleanUp)
v.setUp()
except fixture.MultipleExceptions as e:
raise e.args[0][0], e.args[0][1], e.args[0][2]
six.reraise(*e.args[0])
try:
print("*** Exit the shell when finished debugging ***")
subprocess.call([os.getenv('SHELL'), '-i'], env=v.env)