cf7cd655a2
If an error occurs in nova.cmd.baseproxy the method exit_with_error will be executed that looks as follows: def exit_with_error(msg, errno=-1): print(msg) and sys.exit(errno) However, in python2.7 this method terminates the application without printing anything(unable to flush on time) and in Python3.4 it does strange things because print() returns None. This commit modifies exit_with_error method to output error message with stderr(which in unbuffered). Change-Id: I519b68f8c2bc62988de87bdd2847d5f3be7e532d Closes-Bug: #1506213 |
||
---|---|---|
.. | ||
__init__.py | ||
test_baseproxy.py | ||
test_idmapshift.py | ||
test_manage.py |