#!/usr/bin/python
#
-# $Id$
-# $URL$
-#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
#
raise BootManagerException, "Interrupted by user"
if log is not None:
- log.write(stdoutdata)
+ if stdoutdata is not None:
+ log.write(stdoutdata)
returncode = prog.wait()