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:
0800857
)
Fix non-transmission of dictionary clearing.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 11 Sep 2025 22:04:09 +0000
(
00:04
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 11 Sep 2025 22:04:09 +0000
(
00:04
+0200)
ircplom/client.py
patch
|
blob
|
history
diff --git
a/ircplom/client.py
b/ircplom/client.py
index a2c78b2ad2bcb29e0812b98b0a29ad32bbd4f4a3..12da45ce15cedb1dc73e1d8ac6a58c081bd42574 100644
(file)
--- a/
ircplom/client.py
+++ b/
ircplom/client.py
@@
-207,6
+207,8
@@
class IntoEndnodeUpdatesMixin(AutoAttrMixin):
if isinstance(self, _Completable):
return ([(path, self._completed)] if self._completed is not None
else [])
+ if isinstance(self, Dict) and not self._dict:
+ return [(path, None)]
updates = []
for key, val in (self._dict.items() if isinstance(self, Dict)
else ((k, getattr(self, k))