refactor: rename system with runtime on conditional_block

This commit is contained in:
Arunmozhi
2022-12-08 18:40:55 +05:30
committed by Agrendalath
parent 59757ee52d
commit 1a20033180

View File

@@ -326,7 +326,7 @@ class ConditionalBlock(
descriptors = []
for location in self.sources_list:
try:
descriptor = self.system.get_block(location)
descriptor = self.runtime.get_block(location)
descriptors.append(descriptor)
except ItemNotFoundError:
msg = "Invalid module by location."