#2248 - Removed redundant code and added more documentation from PR suggestions
This commit is contained in:
@@ -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():
|
||||
|
||||
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user