Skip to content

Commit

Permalink
Merge branch 'hugsy:main' into add-layout-mapping-API-for-extenal-plu…
Browse files Browse the repository at this point in the history
…gins
  • Loading branch information
therealdreg authored Apr 23, 2024
2 parents a91ed8c + 92f45ba commit dbaacb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -9827,7 +9827,7 @@ def load_plugins_from_directory(plugin_directory: pathlib.Path):
directory = pathlib.Path(directory).expanduser().absolute()
if not directory.exists():
return 0
dbg(f"Loading extra plugins from {directory=}")
dbg(f"Loading extra plugins from directory={directory}")
return load_plugins_from_directory(directory)

@property
Expand Down Expand Up @@ -11017,7 +11017,7 @@ def __setitem__(self, name: str, value: Any) -> None:
setting = super().__getitem__(name)
if not isinstance(setting, GefSetting): raise TypeError
new_value = setting.type(value)
dbg(f"in __invoke_changed_hooks(\"{name}\"), {setting.value=} -> {new_value=}, changing={bool(setting.value != new_value)}")
dbg(f"in __invoke_changed_hooks(\"{name}\"), setting.value={setting.value} -> new_value={new_value}, changing={bool(setting.value != new_value)}")
self.__invoke_changed_hooks(setting, new_value)
self.__invoke_write_hooks(setting, new_value)
setting.value = new_value
Expand Down

0 comments on commit dbaacb2

Please sign in to comment.