Skip to content
Snippets Groups Projects
Commit 8e8dd483 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Use get_key_values() with option must_exist=True.

parent 6faf1e4a
Branches
No related tags found
No related merge requests found
......@@ -115,10 +115,10 @@ class HdlConfig:
self.libs.remove_dict_from_list(ld)
# Keep list of removed HDL library names of found, but removed technology dicts
self.removed_lib_names = self.libs.get_key_values('hdl_lib_name', self.removed_dicts)
self.removed_lib_names = self.libs.get_key_values(key='hdl_lib_name', dicts=self.removed_dicts, must_exist=True)
# Keep list of used HDL library names
self.lib_names = self.libs.get_key_values('hdl_lib_name')
self.lib_names = self.libs.get_key_values(key='hdl_lib_name', must_exist=True)
# Check that there are no duplicate library names (eg. due to copying a hdlib.cfg without modifying the hdl_lib_name value)
duplicate_lib_names = cm.list_duplicates(self.lib_names)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment