Clone of official tools
Diff: host_tests/default_auto.py
- Revision:
- 43:2a7da56ebd24
- Parent:
- 0:66f3b5499f7f
--- a/host_tests/default_auto.py Mon Nov 06 13:17:14 2017 -0600 +++ b/host_tests/default_auto.py Tue Sep 25 13:43:09 2018 -0500 @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. """ +from __future__ import print_function from sys import stdout @@ -30,7 +31,7 @@ return selftest.RESULT_IO_SERIAL stdout.write(c) stdout.flush() - except KeyboardInterrupt, _: + except KeyboardInterrupt: selftest.notify("\r\n[CTRL+C] exit") result = selftest.RESULT_ERROR return result