Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cppython/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,14 @@ def create_generator(

table = generator_configuration.get(name, {})

if name not in generator_configuration.values():
if name not in generator_configuration.keys():
self.logger.error(
"The pyproject.toml table 'tool.cppython.generator.%s' does not exist. Sending generator empty data",
name,
)

self.logger.debug("The key '%s' does not found in these keys '%s'", name, generator_configuration.keys())

generator_data = resolve_generator(core_data.project_data)

cppython_plugin_data = resolve_cppython_plugin(core_data.cppython_data, supported_plugin_type)
Expand Down