From 19456a2ce0860d7b36df4e3f69f5de937211cb2a Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 17 Jan 2020 16:43:39 +0100 Subject: [PATCH] Fix support for older pyparsing version --- variant-schema-compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variant-schema-compiler b/variant-schema-compiler index 67aa1d97..0c953d2f 100755 --- a/variant-schema-compiler +++ b/variant-schema-compiler @@ -1619,7 +1619,7 @@ class StructType(Type): typeSpec = Forward() -basicType = oneOf(basic_types.keys()).setParseAction(lambda toks: BasicType(toks[0])) +basicType = oneOf(list(basic_types.keys())).setParseAction(lambda toks: BasicType(toks[0])) variantType = Keyword("variant").setParseAction(lambda toks: VariantType())