diff options
| author | Bernard Xiong <[email protected]> | 2018-11-10 18:29:08 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-11-10 18:29:08 +0800 |
| commit | d687cfb22841ba0e1ccf4c946f672dfaeae239cb (patch) | |
| tree | af7d6547eef20e642e1230c141585507f839924e /tools/wizard.py | |
| parent | b69baa965809420fc3fcd19dd55fc1126a68c08d (diff) | |
[Tools] Change building script for Py3
Diffstat (limited to 'tools/wizard.py')
| -rw-r--r-- | tools/wizard.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/wizard.py b/tools/wizard.py index d32f116a9b..c5773527c6 100644 --- a/tools/wizard.py +++ b/tools/wizard.py @@ -66,19 +66,19 @@ Return('objs') ''' def usage(): - print 'wizard --component name' - print 'wizard --bridge' + print('wizard --component name') + print('wizard --bridge') def gen_component(name): - print 'generate SConscript for ' + name + print('generate SConscript for ' + name) text = SConscript_com.replace('COMPONENT_NAME', name) - f = file('SConscript', 'w') + f = open('SConscript', 'w') f.write(text) f.close() def gen_bridge(): - print 'generate SConscript for bridge' - f = file('SConscript', 'w') + print('generate SConscript for bridge') + f = open('SConscript', 'w') f.write(SConscript_bridge) f.close() |
