Revision: 4062
Author: pekka.klarck
Date: Sat Sep 11 04:28:16 2010
Log: added newlines to messages, whitespace
http://code.google.com/p/robotframework/source/detail?r=4062
Modified:
/trunk/src/robot/running/signalhandler.py
=======================================
--- /trunk/src/robot/running/signalhandler.py Mon May 31 05:21:54 2010
+++ /trunk/src/robot/running/signalhandler.py Sat Sep 11 04:28:16 2010
@@ -18,6 +18,7 @@
from robot.errors import ExecutionFailed
from robot.output import LOGGER
+
class _StopSignalMonitor(object):
def __init__(self):
@@ -29,9 +30,9 @@
self._signal_count += 1
LOGGER.info('Received signal: %s.' % signum)
if self._signal_count > 1:
- sys.__stderr__.write('Execution forcefully stopped.')
+ sys.__stderr__.write('Execution forcefully stopped.\n')
raise SystemExit()
- sys.__stderr__.write('Second signal will force exit.')
+ sys.__stderr__.write('Second signal will force exit.\n')
if self._running_keyword and not sys.platform.startswith('java'):
self._stop_execution_gracefully()