Skip to content

Commit a7dd451

Browse files
committed
superfluous lines
1 parent 9c3f750 commit a7dd451

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/textual/_node_list.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ def updated(self) -> None:
7575
"""Mark the nodes as having been updated."""
7676
self._updates += 1
7777
node = None if self._parent is None else self._parent()
78-
if node is None:
79-
return
8078
while node is not None and (node := node._parent) is not None:
8179
node._nodes._updates += 1
8280

0 commit comments

Comments
 (0)