From 287ea86ff77fa3281d13cd15472d7dd7c1739181 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 6 Jul 2020 19:44:54 +0200 Subject: build_rules: Fix Python 3 compatibility. --- build_rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build_rules') diff --git a/build_rules b/build_rules index 095c8fe..dfabcae 100644 --- a/build_rules +++ b/build_rules @@ -109,7 +109,7 @@ def select_stm32(env, variant): }[flash] else: - print 'Unknown stm32 family: %s' % family + print('Unknown stm32 family: %s' % family) Exit(1) def SelectMCU(env, mcu, variant_dir = None): @@ -119,7 +119,7 @@ def SelectMCU(env, mcu, variant_dir = None): select_stm32(env, mcu) else: - print 'Unknown MCU: %s' % mcu + print('Unknown MCU: %s' % mcu) Exit(1) SConscript(main_sconscript, variant_dir = variant_dir, exports = 'env') -- cgit v1.2.3