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

Method restart_puppet

puppet_extension.py:180–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

178 return
179
180 def restart_puppet(self):
181 if self.lockfile is not None and os.path.isfile(self.lockfile):
182 os.remove(self.lockfile)
183 sleep(2)
184 self.start_desktop_puppet_process()
185 GLib.timeout_add(2000, self.update_address)
186
187 def create_gtk_widget(self) -> Gtk.Widget:
188 threading.Thread(target=self.__start_webserver).start()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected