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

Method destroy

puppet_extension.py:206–210  ·  view source on GitHub ↗
(self, add=None)

Source from the content-addressed store, hash-verified

204 except Exception as e:
205 print(e)
206 return
207
208 def restart_puppet(self):
209 if self.lockfile is not None and os.path.isfile(self.lockfile):
210 os.remove(self.lockfile)
211 sleep(2)
212 self.start_desktop_puppet_process()
213 GLib.timeout_add(2000, self.update_address)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected