From 45172ff4677b90cc1a404c1926ece63461cd0860 Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Mon, 4 Feb 2019 07:24:15 -0800 Subject: [PATCH] Use hashable data type for FasmLine output. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- prjxray/fasm_disassembler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prjxray/fasm_disassembler.py b/prjxray/fasm_disassembler.py index 4d841831..d33b993d 100644 --- a/prjxray/fasm_disassembler.py +++ b/prjxray/fasm_disassembler.py @@ -59,10 +59,10 @@ class FasmDisassembler(object): ) yield fasm.FasmLine( set_feature=None, - annotations=[ + annotations=( fasm.Annotation('missing_segbits', gridinfo.tile_type), fasm.Annotation('exception', str(e)), - ], + ), comment=None, ) @@ -153,6 +153,6 @@ class FasmDisassembler(object): frame_offset, bit))) yield fasm.FasmLine( set_feature=None, - annotations=annotations, + annotations=tuple(annotations), comment=None, )