Commit d0d64d84 authored by Robert Bradshaw's avatar Robert Bradshaw

gdb test fix

parent 074b39da
...@@ -249,7 +249,10 @@ class GdbDebuggerTestCase(DebuggerTestCase): ...@@ -249,7 +249,10 @@ class GdbDebuggerTestCase(DebuggerTestCase):
stdout=subprocess.PIPE) stdout=subprocess.PIPE)
python_version = p.stdout.read().decode('ascii') python_version = p.stdout.read().decode('ascii')
p.wait() p.wait()
python_version_number = list(map(int, python_version.split())) try:
python_version_number = list(map(int, python_version.split()))
except ValueError:
have_gdb = False
# Be Python 3 compatible # Be Python 3 compatible
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment