preorders don't have last_creation_op

This commit is contained in:
Jude Nelson
2018-01-17 15:30:08 -05:00
parent b5a19ea46c
commit 0e36eab0ea

View File

@@ -367,7 +367,7 @@ def op_get_quirk_fields( op_name ):
"""
Get the set of fields in a database record that are required for compatibility quirks
"""
if op_name in OPCODE_NAME_NAMEOPS:
if op_name in OPCODE_NAME_NAMEOPS and op_name not in OPCODE_NAME_STATE_PREORDER:
return ['last_creation_op']
return []