summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-12-26 11:31:21 +1100
committerChris Johns <chrisj@rtems.org>2018-12-26 11:31:21 +1100
commitf34d2dba16cb3483830894c6f9164ea955a671c4 (patch)
treecfd6d1f862a373bc879d7e102180a40f6c8115e2
parentee11ed7f8d16902deb8dce9c351569c082d5cdfe (diff)
Fix python3 print problem.
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
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)