MCPcopy Create free account
hub / github.com/NyarchLinux/DesktopPuppet / flush_log

Method flush_log

src/gui_controller.py:237–243  ·  view source on GitHub ↗

Flush the log file to ensure all output is written.

(self)

Source from the content-addressed store, hash-verified

235 return os.path.join(project_root, "puppet.log")
236
237 def flush_log(self):
238 """Flush the log file to ensure all output is written."""
239 if self.log_file:
240 try:
241 self.log_file.flush()
242 except Exception:
243 pass
244
245
246class DesktopPuppetWindow(Adw.ApplicationWindow):

Callers 1

_on_process_diedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected