aboutsummaryrefslogtreecommitdiff
path: root/tests/oneof/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/oneof/SConscript')
-rw-r--r--tests/oneof/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/oneof/SConscript b/tests/oneof/SConscript
index 22634fb..928ce63 100644
--- a/tests/oneof/SConscript
+++ b/tests/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))):