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) shell = os.path.join(p, i)
dbg ('spawn_child: Checking if "%s" exists'%shell) dbg ('spawn_child: Checking if "%s" exists'%shell)
if not os.path.exists (shell): if not os.path.exists (shell):
dbg ('spawn_child: %s does not exist'%shell)
continue continue
else: else:
dbg ('spawn_child: %s does exist'%shell)
break break
if os.path.exists (shell):
break
if not self.command and not os.path.exists (shell): if not self.command and not os.path.exists (shell):
# Give up, we're completely stuck # Give up, we're completely stuck