Remove debug logging now we're close to happy with the new mount approach

As per https://github.com/Textualize/textual/pull/1095#discussion_r1013042951
This commit is contained in:
Dave Pearson
2022-11-03 15:20:50 +00:00
parent abad0a311a
commit 9d5d0e6f5d

View File

@@ -461,13 +461,10 @@ class Widget(DOMNode):
# to do. # to do.
if before is not None: if before is not None:
parent, before = self._find_mount_point(before) parent, before = self._find_mount_point(before)
self.log.debug(f"MOUNT under {parent!r} before {before!r} ")
elif after is not None: elif after is not None:
parent, after = self._find_mount_point(after) parent, after = self._find_mount_point(after)
self.log.debug(f"MOUNT under {parent!r} after {after!r} ")
else: else:
parent = self parent = self
self.log.debug(f"MOUNT under {self!r} at the end of the child list")
return AwaitMount( return AwaitMount(
self.app._register(parent, *widgets, before=before, after=after) self.app._register(parent, *widgets, before=before, after=after)