[examples-v2 commit] Fix python3 print problem.
Chris Johns
chrisj at rtems.org
Wed Dec 26 00:31:56 UTC 2018
Module: examples-v2
Branch: master
Commit: f34d2dba16cb3483830894c6f9164ea955a671c4
Changeset: http://git.rtems.org/examples-v2/commit/?id=f34d2dba16cb3483830894c6f9164ea955a671c4
Author: Chris Johns <chrisj at rtems.org>
Date: Wed Dec 26 11:31:21 2018 +1100
Fix python3 print problem.
---
wscript | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/wscript b/wscript
index 8227dc8..4f5705b 100644
--- a/wscript
+++ b/wscript
@@ -3,13 +3,16 @@
# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
#
+from __future__ import print_function
+
# See README.waf for building instructions.
rtems_version = "5"
+
try:
import rtems_waf.rtems as rtems
except:
- print 'error: no rtems_waf git submodule; see README.waf'
+ print('error: no rtems_waf git submodule; see README.waf')
import sys
sys.exit(1)
More information about the vc
mailing list