mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-13 11:30:34 -04:00
Fix support for older pyparsing version
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user