improve the previous fix for LP #241563

This commit is contained in:
Chris Jones 2008-06-20 11:26:36 +01:00
parent 7b6c9f52b8
commit 51e82409a8
1 changed files with 4 additions and 0 deletions

View File

@ -398,9 +398,13 @@ text/plain
shell = os.path.join(p, i)
dbg ('spawn_child: Checking if "%s" exists'%shell)
if not os.path.exists (shell):
dbg ('spawn_child: %s does not exist'%shell)
continue
else:
dbg ('spawn_child: %s does exist'%shell)
break
if os.path.exists (shell):
break
if not self.command and not os.path.exists (shell):
# Give up, we're completely stuck