summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2020-07-06 19:44:54 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2020-07-06 19:44:54 +0200
commit287ea86ff77fa3281d13cd15472d7dd7c1739181 (patch)
treecddcf82ff4ec4c78492ffd8e64c8400f64aaa198
parentdb9ec44f359992f5c49fc5602fe919fffe134289 (diff)
build_rules: Fix Python 3 compatibility.HEADmaster
-rw-r--r--build_rules4
1 files changed, 2 insertions, 2 deletions
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')