From 2a61277ca861130a1ce36e23aac2870be8f71adf Mon Sep 17 00:00:00 2001 From: rssor <34997787+rssor@users.noreply.github.com> Date: Wed, 9 Oct 2019 14:51:27 -0400 Subject: arch: resolve need for bogus flag write type Fixes #513 --- python/architecture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/architecture.py b/python/architecture.py index 8498951d..6d190277 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -287,7 +287,7 @@ class Architecture(with_metaclass(_ArchitectureMetaClass, object)): self._flag_write_types = {} self._flag_write_types_by_index = {} self.__dict__["flag_write_types"] = self.__class__.flag_write_types - write_type_index = 0 + write_type_index = 1 for write_type in self.__class__.flag_write_types: if write_type not in self._flag_write_types: self._flag_write_types[write_type] = write_type_index -- cgit v1.3.1