D-Bus testing: fixed typo for "use gdb" code path
The "timeout_handle" was not initialized when using gdb. "handle" was initialized instead, which was a former name of that variable.
This commit is contained in:
parent
f8a0ad7212
commit
b1c4b049fd
|
@ -300,7 +300,7 @@ class DBusUtil(Timeout):
|
|||
timeout = test.timeout
|
||||
else:
|
||||
timeout = 5
|
||||
handle = None
|
||||
timeout_handle = None
|
||||
if timeout and not debugger:
|
||||
def timedout():
|
||||
error = "%s timed out after %d seconds" % (self.id(), timeout)
|
||||
|
|
Loading…
Reference in New Issue