MCPcopy
hub / github.com/srixivas/PcapXray / deviceDetailsReport

Method deviceDetailsReport

Source/Module/report_generator.py:42–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 log.error("Could not create communication details report: %s", e)
41
42 def deviceDetailsReport(self) -> None:
43 try:
44 device_file = os.path.join(self.directory, self.filename + "_device_details.txt")
45 with open(device_file, "w") as f:
46 f.write("deviceDetails: %s\n" % _dumps(memory.lan_hosts, indent=2, sort_keys=True))
47 except Exception as e:
48 log.error("Could not create device details report: %s", e)
49
50 def packetDetails(self) -> None:
51 try:

Callers 2

test_report_genFunction · 0.80

Calls 1

_dumpsFunction · 0.85

Tested by 2

test_report_genFunction · 0.64