Skip to content
Snippets Groups Projects

More improvements to Infrastructure

1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -131,6 +131,8 @@ class InstructionBlock:
@@ -131,6 +131,8 @@ class InstructionBlock:
str: The operation specified by kind and index
str: The operation specified by kind and index
"""
"""
if index == 'all':
if index == 'all':
 
if kind not in self.operations:
 
return []
return self.operations[kind]
return self.operations[kind]
else:
else:
as_int = int(index) # will Raise ValueError if not integer
as_int = int(index) # will Raise ValueError if not integer
Loading