summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorrssor <34997787+rssor@users.noreply.github.com>2019-10-09 14:51:27 -0400
committerGitHub <noreply@github.com>2019-10-09 14:51:27 -0400
commit2a61277ca861130a1ce36e23aac2870be8f71adf (patch)
tree6125680283c3820271e85c20f07a60cf54b62bf2 /python
parent4530f4ff793ecfd857b9deed6af450f1cb31c8d0 (diff)
arch: resolve need for bogus flag write type
Fixes #513
Diffstat (limited to 'python')
-rw-r--r--python/architecture.py2
1 files changed, 1 insertions, 1 deletions
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