Python 3 compatibility

This commit is contained in:
Sebastian Huber 2015-11-12 13:10:03 +01:00
parent ba446132d4
commit d6c6017c25
2 changed files with 2 additions and 2 deletions

View File

@ -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('')

View File

@ -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)