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:
Patrick Ohly 2009-11-20 15:34:51 +01:00
parent f8a0ad7212
commit b1c4b049fd
1 changed files with 1 additions and 1 deletions

View File

@ -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)