From f71acc19332f6dfbfcc4d063e12a250fbc107d7a Mon Sep 17 00:00:00 2001 From: "Hamina, Juha-Pekka" Date: Mon, 26 Feb 2018 13:24:53 +0200 Subject: Fix for default value byte escaping --- tests/anonymous_oneof/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/anonymous_oneof/SConscript') diff --git a/tests/anonymous_oneof/SConscript b/tests/anonymous_oneof/SConscript index 1067228..20fd1cc 100644 --- a/tests/anonymous_oneof/SConscript +++ b/tests/anonymous_oneof/SConscript @@ -9,7 +9,7 @@ if 'PROTOC_VERSION' in env: match = re.search('([0-9]+).([0-9]+).([0-9]+)', env['PROTOC_VERSION']) if match: - version = map(int, match.groups()) + version = list(map(int, match.groups())) # Oneof is supported by protoc >= 2.6.0 if env.GetOption('clean') or (match and (version[0] > 2 or (version[0] == 2 and version[1] >= 6))): -- cgit v1.2.3