Commit fb114e38 authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Fix condition in project.py

This error was introduced in 0f04c2b3

.

Change-Id: Ifdaa18d4267daff1e59c5ced3cfc188beb4c52c9
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent fca97a53
......@@ -512,7 +512,7 @@ def __closeSubprocessByHookingInto__(executable, port, function, sType, userDefT
resetApplicationContextToCreator()
__closeSubprocessByPushingStop__(sType)
resetApplicationContextToCreator()
if not waitForProcessRunning(False) and waitFor("'exited with code' in str(output.plainText)", 10000):
if not (waitForProcessRunning(False) and waitFor("'exited with code' in str(output.plainText)", 10000)):
test.warning("Sub-process seems not to have closed properly.")
try:
__closeSubprocessByPushingStop__(sType)
......
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