#2248 - Removed redundant code and added more documentation from PR suggestions

This commit is contained in:
Chris McCarthy
2024-02-09 10:27:22 +00:00
parent a036160515
commit 0acd9a2938
4 changed files with 34 additions and 36 deletions

View File

@@ -725,10 +725,6 @@ class Node(SimComponent):
self._install_system_software()
self.set_original_state()
# def model_post_init(self, __context: Any) -> None:
# self._install_system_software()
# self.set_original_state()
def set_original_state(self):
"""Sets the original state."""
for software in self.software_manager.software.values():

View File

@@ -102,7 +102,7 @@ class PacketCapture:
def capture_outbound(self, frame): # noqa - I'll have a circular import and cant use if TYPE_CHECKING ;(
"""
Capture an inbound Frame and log it.
Capture an outbound Frame and log it.
:param frame: The PCAP frame to capture.
"""