[rtems-libbsd commit] Python 3 compatibility

Sebastian Huber sebh at rtems.org
Thu Nov 12 12:10:28 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    d6c6017c25999ada4e731eb7242d7a47d008f1ad
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=d6c6017c25999ada4e731eb7242d7a47d008f1ad

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Nov 12 13:10:03 2015 +0100

Python 3 compatibility

---

 waf_generator.py | 2 +-
 wscript          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/waf_generator.py b/waf_generator.py
index f539216..a006480 100755
--- a/waf_generator.py
+++ b/waf_generator.py
@@ -262,7 +262,7 @@ class ModuleManager(builder.ModuleManager):
         self.add('try:')
         self.add('    import rtems_waf.rtems as rtems')
         self.add('except:')
-        self.add('    print "error: no rtems_waf git submodule; see README.waf"')
+        self.add('    print("error: no rtems_waf git submodule; see README.waf")')
         self.add('    import sys')
         self.add('    sys.exit(1)')
         self.add('')
diff --git a/wscript b/wscript
index ecb360e..7f643fe 100644
--- a/wscript
+++ b/wscript
@@ -11,7 +11,7 @@ import os.path
 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