home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d1211a
)
Rename variable for greater clarity.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 11 Sep 2025 14:32:09 +0000
(16:32 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 11 Sep 2025 14:32:09 +0000
(16:32 +0200)
ircplom/client_tui.py
patch
|
blob
|
history
diff --git
a/ircplom/client_tui.py
b/ircplom/client_tui.py
index d1f026d33588feb155ee6b659cc77cfb3b62ae1d..5d920b9f8e4aa2478a37f26db4b7b35369496cf4 100644
(file)
--- a/
ircplom/client_tui.py
+++ b/
ircplom/client_tui.py
@@
-38,12
+38,12
@@
class _UpdatingNode(AutoAttrMixin):
return cls()
@classmethod
- def _scope(cls,
path
: str) -> LogScope:
+ def _scope(cls,
key
: str) -> LogScope:
scopes: dict[str, LogScope] = {}
for c in cls.__mro__:
if hasattr(c, 'log_scopes'):
scopes = c.log_scopes | scopes
- return scopes.get(
path
, scopes[''])
+ return scopes.get(
key
, scopes[''])
def recursive_set_and_report_change(
self, update: _Update) -> Optional[tuple[LogScope, Any]]: