MCPcopy
hub / github.com/freedomofpress/dangerzone / prompt_user

Method prompt_user

dangerzone/startup.py:155–160  ·  view source on GitHub ↗

Return whether the user has accepted to stop the machine or not.

(self, machine_name: str)

Source from the content-addressed store, hash-verified

153 )
154
155 def prompt_user(self, machine_name: str) -> bool:
156 """Return whether the user has accepted to stop the machine or not."""
157 return self.fail(
158 f"Dangerzone has detected that a Podman machine with name '{machine_name}'"
159 " is already running in the system, but cannot prompt the user to stop it."
160 )
161
162 def run(self) -> None:
163 other_running_machines = PodmanMachineManager().list_other_running_machines()

Callers 1

should_skipMethod · 0.95

Calls 1

failMethod · 0.95

Tested by

no test coverage detected