Skip to content

Commit b89b597

Browse files
committed
Build b2
1 parent f9cbe0d commit b89b597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hatch_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def initialize(self, version: str, build_data: dict[str, Any]) -> None:
2121
frame = frame_info.frame
2222
module = inspect.getmodule(frame)
2323
if module and module.__name__.startswith("hatchling.build") and "config_settings" in frame.f_locals:
24-
config_settings = frame.f_locals["config_settings"]
24+
config_settings = frame.f_locals["config_settings"] or {}
2525

2626
package_list = config_settings.get("CONAN_BUILD")
2727
if package_list:

0 commit comments

Comments
 (0)